diff --git a/components/alert/demo/action.md b/components/alert/demo/action.md index 81ac600c7d..1a5814b816 100644 --- a/components/alert/demo/action.md +++ b/components/alert/demo/action.md @@ -5,9 +5,3 @@ ## en-US Custom action. - - diff --git a/components/alert/demo/basic.md b/components/alert/demo/basic.md index 8c5854dc11..c2943733a2 100644 --- a/components/alert/demo/basic.md +++ b/components/alert/demo/basic.md @@ -5,9 +5,3 @@ ## en-US The simplest usage for short messages. - - diff --git a/components/alert/demo/style.md b/components/alert/demo/style.md index 26a6584536..968d87e0ba 100644 --- a/components/alert/demo/style.md +++ b/components/alert/demo/style.md @@ -5,9 +5,3 @@ ## en-US There are 4 types of Alert: `success`, `info`, `warning`, `error`. - - diff --git a/components/badge/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/badge/__tests__/__snapshots__/demo-extend.test.ts.snap index 1011fc9077..6c09459b7d 100644 --- a/components/badge/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/badge/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -1728,312 +1728,354 @@ exports[`renders ./components/badge/demo/overflow.tsx extend context correctly 1 `; exports[`renders ./components/badge/demo/ribbbon.tsx extend context correctly 1`] = ` -Array [ +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, -] +
+
`; exports[`renders ./components/badge/demo/ribbon-debug.tsx extend context correctly 1`] = ` diff --git a/components/badge/__tests__/__snapshots__/demo.test.ts.snap b/components/badge/__tests__/__snapshots__/demo.test.ts.snap index 02f5361399..bc6c23f2a3 100644 --- a/components/badge/__tests__/__snapshots__/demo.test.ts.snap +++ b/components/badge/__tests__/__snapshots__/demo.test.ts.snap @@ -1728,312 +1728,354 @@ exports[`renders ./components/badge/demo/overflow.tsx correctly 1`] = ` `; exports[`renders ./components/badge/demo/ribbbon.tsx correctly 1`] = ` -Array [ +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, +
- Pushes open the window +
+ Pushes open the window +
+
+ and raises the spyglass. +
- and raises the spyglass. + + Hippies + +
-
- - Hippies - -
-
-
, -] +
+
`; exports[`renders ./components/badge/demo/ribbon-debug.tsx correctly 1`] = ` diff --git a/components/badge/demo/basic.md b/components/badge/demo/basic.md index 2b1247187d..a229bf6e3d 100644 --- a/components/badge/demo/basic.md +++ b/components/badge/demo/basic.md @@ -5,13 +5,3 @@ ## en-US Simplest Usage. Badge will be hidden when `count` is `0`, but we can use `showZero` to show it. - - diff --git a/components/badge/demo/colorful-with-count-debug.md b/components/badge/demo/colorful-with-count-debug.md index 7636a90424..727def14dd 100644 --- a/components/badge/demo/colorful-with-count-debug.md +++ b/components/badge/demo/colorful-with-count-debug.md @@ -5,9 +5,3 @@ ## en-US support `count` when use colorful badge - -```css -.ant-tag { - margin-bottom: 8px; -} -``` diff --git a/components/badge/demo/ribbbon.md b/components/badge/demo/ribbbon.md index 395a49ce7f..29d437e435 100644 --- a/components/badge/demo/ribbbon.md +++ b/components/badge/demo/ribbbon.md @@ -5,9 +5,3 @@ ## en-US Use ribbon badge. - -```css -#components-badge-demo-ribbbon .ant-card { - margin-bottom: 16px; -} -``` diff --git a/components/badge/demo/ribbbon.tsx b/components/badge/demo/ribbbon.tsx index 488a1cde2d..2ce30f5512 100644 --- a/components/badge/demo/ribbbon.tsx +++ b/components/badge/demo/ribbbon.tsx @@ -1,8 +1,8 @@ import React from 'react'; -import { Badge, Card } from 'antd'; +import { Badge, Card, Space } from 'antd'; const App: React.FC = () => ( - <> + and raises the spyglass. @@ -43,7 +43,7 @@ const App: React.FC = () => ( and raises the spyglass. - + ); export default App; diff --git a/components/button/index.zh-CN.md b/components/button/index.zh-CN.md index 22c421b550..e081597a77 100644 --- a/components/button/index.zh-CN.md +++ b/components/button/index.zh-CN.md @@ -83,7 +83,7 @@ group: