index.js 268 Bytes
Newer Older
Yu's avatar
Yu committed
1 2 3 4 5 6 7
import { Icon } from 'antd';
import { iconfontUrl as scriptUrl } from '../../defaultSettings';

// δ½Ώη”¨οΌš
// import IconFont from '@/components/IconFont';
// <IconFont type='icon-demo' className='xxx-xxx' />
export default Icon.createFromIconfontCN({ scriptUrl });