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
parent
commit
3432ac7401
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/badge/__tests__/__snapshots__/demo.test.js.snap
  2. 1
      components/drawer/__tests__/__snapshots__/demo.test.js.snap
  3. 1
      components/form/__tests__/__snapshots__/demo.test.js.snap
  4. 2
      components/icon/index.tsx
  5. 2
      components/progress/__tests__/__snapshots__/demo.test.js.snap
  6. 1
      components/tabs/__tests__/__snapshots__/demo.test.js.snap
  7. 2
      components/tag/__tests__/__snapshots__/demo.test.js.snap

1
components/badge/__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"
/>

1
components/drawer/__tests__/__snapshots__/demo.test.js.snap

@ -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"
/>

1
components/form/__tests__/__snapshots__/demo.test.js.snap

@ -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"
/>

2
components/icon/index.tsx

@ -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 {

2
components/progress/__tests__/__snapshots__/demo.test.js.snap

@ -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"
/>

1
components/tabs/__tests__/__snapshots__/demo.test.js.snap

@ -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"
/>

2
components/tag/__tests__/__snapshots__/demo.test.js.snap

@ -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"
/>

Loading…
Cancel
Save