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

View File

@@ -15,7 +15,7 @@
"@typescript-eslint/parser": "^6.19.0"
},
"dependencies": {
"@ant-design/icons": "^5.3.4",
"@ant-design/icons": "^5.5.1",
"@df/toco-ui": "{{uiVersion}}",
"@reduxjs/toolkit": "^1.9.7",
"@testing-library/jest-dom": "^5.17.0",

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;

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,3 @@
projectName: toco
uiVersion: 0.1.36
uiVersion: 0.1.36
iconFontSrc: ""