diff --git a/components/button/__tests__/__snapshots__/demo.test.ts.snap b/components/button/__tests__/__snapshots__/demo.test.ts.snap
index b3b96ffd832d..7aee22a06dc6 100644
--- a/components/button/__tests__/__snapshots__/demo.test.ts.snap
+++ b/components/button/__tests__/__snapshots__/demo.test.ts.snap
@@ -47,7 +47,7 @@ Array [
`;
exports[`renders ./components/button/demo/block.md correctly 1`] = `
-
+Array [
Primary
-
+ ,
Default
-
+ ,
Dashed
-
+ ,
Link
-
-
+ ,
+]
`;
exports[`renders ./components/button/demo/danger.md correctly 1`] = `
@@ -129,7 +129,7 @@ Array [
`;
exports[`renders ./components/button/demo/disabled.md correctly 1`] = `
-
+Array [
Primary
-
+ ,
Primary(disabled)
-
-
+ ,
+
,
Default
-
+ ,
Default(disabled)
-
-
+ ,
+
,
Dashed
-
+ ,
Dashed(disabled)
-
-
+ ,
+
,
Text
-
+ ,
Text(disabled)
-
-
+ ,
+
,
Link
-
+ ,
Link(disabled)
-
-
+ ,
+
,
Danger Default
-
+ ,
Danger Default(disabled)
-
-
+ ,
+
,
Danger Text
-
+ ,
Danger Text(disabled)
-
-
+ ,
+
,
Danger Link
-
+ ,
Danger Link(disabled)
-
+ ,
@@ -293,8 +293,8 @@ exports[`renders ./components/button/demo/disabled.md correctly 1`] = `
Ghost(disabled)
-
-
+ ,
+]
`;
exports[`renders ./components/button/demo/ghost.md correctly 1`] = `
@@ -345,7 +345,7 @@ exports[`renders ./components/button/demo/ghost.md correctly 1`] = `
`;
exports[`renders ./components/button/demo/icon.md correctly 1`] = `
-
+Array [
-
+ ,
A
-
+ ,
Search
-
+ ,
-
+ ,
Search
-
-
+ ,
+ ,
-
+ ,
Search
-
+ ,
-
+ ,
Search
-
-
+ ,
+]
`;
exports[`renders ./components/button/demo/legacy-group.md correctly 1`] = `
-,
+ ,
-
+ ,
+ ,
-
+ ,
+]
`;
exports[`renders ./components/button/demo/loading.md correctly 1`] = `
@@ -975,7 +975,7 @@ Array [
`;
exports[`renders ./components/button/demo/multiple.md correctly 1`] = `
-
+Array [
primary
-
+ ,
secondary
-
+ ,
-
-
+ ,
+]
`;
exports[`renders ./components/button/demo/size.md correctly 1`] = `
-
+Array [
@@ -1086,9 +1086,9 @@ exports[`renders ./components/button/demo/size.md correctly 1`] = `
Small
-
-
-
+
,
+ ,
+ ,
Primary
-
+ ,
Default
-
+ ,
Dashed
-
-
+ ,
+ ,
Link
-
-
+ ,
+ ,
-
+ ,
-
+ ,
-
+ ,
Download
-
+ ,
Download
-
-
+ ,
+]
`;
diff --git a/components/button/demo/block.md b/components/button/demo/block.md
index f4800ea179de..1be00d3761c8 100644
--- a/components/button/demo/block.md
+++ b/components/button/demo/block.md
@@ -17,7 +17,7 @@ title:
import { Button } from 'antd';
ReactDOM.render(
-
+ <>
Primary
@@ -28,7 +28,7 @@ ReactDOM.render(
Link
-
,
+ >,
mountNode,
);
```
diff --git a/components/button/demo/disabled.md b/components/button/demo/disabled.md
index 150511d44363..b661f545d551 100644
--- a/components/button/demo/disabled.md
+++ b/components/button/demo/disabled.md
@@ -17,7 +17,7 @@ To mark a button as disabled, add the `disabled` property to the `Button`.
import { Button } from 'antd';
ReactDOM.render(
-
+ <>
Primary
Primary(disabled)
@@ -65,7 +65,7 @@ ReactDOM.render(
Ghost(disabled)
- ,
+ >,
mountNode,
);
```
diff --git a/components/button/demo/icon.md b/components/button/demo/icon.md
index 1f505386478e..92c5a5b61cba 100644
--- a/components/button/demo/icon.md
+++ b/components/button/demo/icon.md
@@ -22,7 +22,7 @@ import { Button, Tooltip } from 'antd';
import { SearchOutlined } from '@ant-design/icons';
ReactDOM.render(
-
+ <>
} />
@@ -47,7 +47,7 @@ ReactDOM.render(
}>
Search
-
,
+ >,
mountNode,
);
```
diff --git a/components/button/demo/legacy-group.md b/components/button/demo/legacy-group.md
index 4f21e037e726..c4fb32ff8c22 100644
--- a/components/button/demo/legacy-group.md
+++ b/components/button/demo/legacy-group.md
@@ -36,13 +36,13 @@ function getGroup(props) {
}
ReactDOM.render(
-
+ <>
{getGroup({ size: 'small' })}
{getGroup()}
{getGroup({ size: 'large' })}
-
,
+ >,
mountNode,
);
```
diff --git a/components/button/demo/multiple.md b/components/button/demo/multiple.md
index 28b089578006..a23c846b1ab4 100644
--- a/components/button/demo/multiple.md
+++ b/components/button/demo/multiple.md
@@ -30,7 +30,7 @@ const menu = (
);
ReactDOM.render(
-
+ <>
primary
secondary
@@ -38,7 +38,7 @@ ReactDOM.render(
Actions
-
,
+ >,
mountNode,
);
```
diff --git a/components/button/demo/size.md b/components/button/demo/size.md
index 73e62d8e8d9a..625da008648c 100644
--- a/components/button/demo/size.md
+++ b/components/button/demo/size.md
@@ -33,7 +33,7 @@ class ButtonSize extends React.Component {
render() {
const { size } = this.state;
return (
-
+ <>
Large
Default
@@ -62,7 +62,7 @@ class ButtonSize extends React.Component {
} size={size}>
Download
-
+ >
);
}
}