mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
fix: can not use iconfont
This commit is contained in:
parent
6f835e6b7a
commit
f2467a1f69
1
.gitignore
vendored
1
.gitignore
vendored
@ -42,3 +42,4 @@ components/**/*.jsx
|
||||
# Docs templates
|
||||
site/theme/template/IconDisplay/*.js
|
||||
site/theme/template/IconDisplay/*.jsx
|
||||
site/theme/template/IconDisplay/fields.js
|
||||
|
@ -331,13 +331,49 @@ exports[`Icon.createFromIconfontCN() should support iconfont.cn 1`] = `
|
||||
class="icons-list"
|
||||
>
|
||||
<i
|
||||
class="anticon anticon-icon-tuichu"
|
||||
/>
|
||||
class="anticon"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class=""
|
||||
fill="currentColor"
|
||||
height="1em"
|
||||
width="1em"
|
||||
>
|
||||
<use
|
||||
href="#icon-tuichu"
|
||||
/>
|
||||
</svg>
|
||||
</i>
|
||||
<i
|
||||
class="anticon anticon-icon-facebook"
|
||||
/>
|
||||
class="anticon"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class=""
|
||||
fill="currentColor"
|
||||
height="1em"
|
||||
width="1em"
|
||||
>
|
||||
<use
|
||||
href="#icon-facebook"
|
||||
/>
|
||||
</svg>
|
||||
</i>
|
||||
<i
|
||||
class="anticon anticon-icon-twitter"
|
||||
/>
|
||||
class="anticon"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class=""
|
||||
fill="currentColor"
|
||||
height="1em"
|
||||
width="1em"
|
||||
>
|
||||
<use
|
||||
href="#icon-twitter"
|
||||
/>
|
||||
</svg>
|
||||
</i>
|
||||
</div>
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user