| 123456789101112 |
- import { createFromIconfontCN } from '@ant-design/icons';
- import cx from 'classnames';
- // const Icon = createFromIconfontCN({
- // scriptUrl: '//at.alicdn.com/t/font_3184967_zvedollr9ti.js',
- // });
- // export default ({ type, className, style = {} }) => {
- // return <Icon style={style} className={className} type={`icon-manage${type}`} />;
- // };
- export default ({ type, className, style = {} }) => {
- return <span className={cx('icon', 'iconfont', 'icon-manage' + type)} style={style}></span>;
- };
|