Browse Source
Merge pull request #17517 from ant-design/revert-icon-entry
chore: use none-dist icons entry
pull/17540/head
偏右
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with
9 additions and
1 deletions
-
components/badge/__tests__/__snapshots__/demo.test.js.snap
-
components/drawer/__tests__/__snapshots__/demo.test.js.snap
-
components/form/__tests__/__snapshots__/demo.test.js.snap
-
components/icon/index.tsx
-
components/progress/__tests__/__snapshots__/demo.test.js.snap
-
components/tabs/__tests__/__snapshots__/demo.test.js.snap
-
components/tag/__tests__/__snapshots__/demo.test.js.snap
|
|
@ -437,6 +437,7 @@ exports[`renders ./components/badge/demo/change.md correctly 1`] = ` |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<defs /> |
|
|
|
<path |
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" |
|
|
|
/> |
|
|
|
|
|
@ -33,6 +33,7 @@ exports[`renders ./components/drawer/demo/form-in-drawer.md correctly 1`] = ` |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<defs /> |
|
|
|
<path |
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" |
|
|
|
/> |
|
|
|
|
|
@ -779,6 +779,7 @@ exports[`renders ./components/form/demo/dynamic-form-item.md correctly 1`] = ` |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<defs /> |
|
|
|
<path |
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" |
|
|
|
/> |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
import * as React from 'react'; |
|
|
|
import classNames from 'classnames'; |
|
|
|
import * as allIcons from '@ant-design/icons/lib/dist'; |
|
|
|
import * as allIcons from '@ant-design/icons'; |
|
|
|
import ReactIcon from '@ant-design/icons-react'; |
|
|
|
import createFromIconfontCN from './IconFont'; |
|
|
|
import { |
|
|
|
|
|
@ -254,6 +254,7 @@ exports[`renders ./components/progress/demo/circle-dynamic.md correctly 1`] = ` |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<defs /> |
|
|
|
<path |
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" |
|
|
|
/> |
|
|
@ -548,6 +549,7 @@ exports[`renders ./components/progress/demo/dynamic.md correctly 1`] = ` |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<defs /> |
|
|
|
<path |
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" |
|
|
|
/> |
|
|
|
|
|
@ -1182,6 +1182,7 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = ` |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<defs /> |
|
|
|
<path |
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" |
|
|
|
/> |
|
|
|
|
|
@ -113,6 +113,7 @@ exports[`renders ./components/tag/demo/animation.md correctly 1`] = ` |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<defs /> |
|
|
|
<path |
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" |
|
|
|
/> |
|
|
@ -388,6 +389,7 @@ exports[`renders ./components/tag/demo/control.md correctly 1`] = ` |
|
|
|
viewBox="64 64 896 896" |
|
|
|
width="1em" |
|
|
|
> |
|
|
|
<defs /> |
|
|
|
<path |
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" |
|
|
|
/> |
|
|
|