index.tsx 337 Bytes
Newer Older
Yu's avatar
Yu committed
1
import { Icon } from 'antd';
2
import defaultSettings from '../../../config/defaultSettings';
Yu's avatar
Yu committed
3

4 5
const { iconfontUrl } = defaultSettings;
const scriptUrl = iconfontUrl;
Yu's avatar
Yu committed
6 7 8 9
// δ½Ώη”¨οΌš
// import IconFont from '@/components/IconFont';
// <IconFont type='icon-demo' className='xxx-xxx' />
export default Icon.createFromIconfontCN({ scriptUrl });