Initial commit

This commit is contained in:
linxd
2025-06-17 14:20:06 +08:00
commit 08424ecdb8
112 changed files with 26341 additions and 0 deletions

View File

@ -0,0 +1,18 @@
import { createFromIconfontCN } from '@ant-design/icons';
import React from 'react';
interface IconFontProps {
type: string;
[key: string]: any;
}
const IconFont: React.FC<IconFontProps> = (props) => {
const Icon = createFromIconfontCN({
// 线上
// scriptUrl: '//at.alicdn.com/t/c/font_4950533_qp1wyf22tmb.js',
// 本地
scriptUrl: require('@/assets/iconfont/iconfont.js'),
});
return <Icon {...props} />;
};
export default IconFont;