feat: 新增Icon组件

This commit is contained in:
dayjoy
2024-11-21 11:17:13 +08:00
parent 5628e35758
commit 38cfa091c6
4 changed files with 10 additions and 11634 deletions

7
template/src/Icon.tsx Normal file
View File

@@ -0,0 +1,7 @@
import { createFromIconfontCN } from '@ant-design/icons';
const Icon = createFromIconfontCN({
scriptUrl: {{iconFontSrc}},
});
export default Icon;