You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/icon/icon.en-US.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
5
5
Icons are published and managed as a separate npm package. If you want to use it directly in your project, please install `tdesign-icons-vue-next`. At the same time, `tdesign-vue-next` also includes icons and supports direct use through `t-icon`.
6
6
7
-
8
7
### Import on-demand
9
8
10
9
SVG icons can be imported on demand. When using the Icon component in component development, SVG icons are imported on demand.
@@ -37,10 +36,8 @@ New iconfont icons can be added by passing in the URL.
37
36
38
37
The component will import default iconfont icons. If you want to disable the loading of default iconfont icons, set `loadDefaultIcons` to `false`.
39
38
40
-
41
39
{{ iconfont-enhanced }}
42
40
43
-
44
41
### FAQ
45
42
46
43
#### How to get all the names of icons?
@@ -50,18 +47,21 @@ You can get all the name of icon by import manifest from the bundle `import { ma
50
47
#### the usage of full import needs network. What if my project is in a no-network scenario?
51
48
52
49
if your project is in a no-network scenario, please use on-demand loading of icons. For example,`<t-icon name="add" />` should be changed to `<AddIcon />`
Most icons were added to the icon library after version 0.2.0. If you find that the icon cannot be displayed normally after being imported, please check the version of tdesign-icons-vue-next you have installed</div>
57
+
<pstyle="flex:1">Most icons were added to the icon library after version 0.3.0. If you find that the icon cannot be displayed normally after being imported, please check the version of tdesign-icons-vue-next you have installed. Supports Chinese and English search. If you think other keyword prompts can be added, feel free to submit a Pull Request to <ahref="https://github.com/Tencent/tdesign-icons/blob/develop/packages/view/src/manifest.js"target="_blank"> the Icon Repository</a> to help us complete it together.
0 commit comments