diff --git a/components/tag/__tests__/__snapshots__/demo.test.js.snap b/components/tag/__tests__/__snapshots__/demo.test.js.snap index 9ad2ce6325..3dc2002e04 100644 --- a/components/tag/__tests__/__snapshots__/demo.test.js.snap +++ b/components/tag/__tests__/__snapshots__/demo.test.js.snap @@ -642,10 +642,17 @@ Array [ exports[`renders ./components/tag/demo/status.md correctly 1`] = ` Array [ -
-

+

+ +
, +
@@ -672,10 +679,17 @@ Array [ default
, -
-

+

+ +
, +
diff --git a/components/tag/demo/status.md b/components/tag/demo/status.md index 9566981343..3bf5891925 100644 --- a/components/tag/demo/status.md +++ b/components/tag/demo/status.md @@ -14,7 +14,7 @@ title: We preset five different colors, you can set color property such as `success`,`processing`,`error`,`default` and `warning` to indicate specific status. ```jsx -import { Tag } from 'antd'; +import { Tag, Divider } from 'antd'; import { CheckCircleOutlined, SyncOutlined, @@ -26,17 +26,16 @@ import { ReactDOM.render( <> + Without icon
-

Without icon

success processing error warning default
- + With icon
-

With icon

} color="success"> success