feat: 新增Icon组件
This commit is contained in:
7
template/src/Icon.tsx
Normal file
7
template/src/Icon.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
import { createFromIconfontCN } from '@ant-design/icons';
|
||||
|
||||
const Icon = createFromIconfontCN({
|
||||
scriptUrl: {{iconFontSrc}},
|
||||
});
|
||||
|
||||
export default Icon;
|
||||
Reference in New Issue
Block a user