diff --git a/components/button/__tests__/__snapshots__/index.test.js.snap b/components/button/__tests__/__snapshots__/index.test.js.snap
index f4e7121567..ba7e61f6eb 100644
--- a/components/button/__tests__/__snapshots__/index.test.js.snap
+++ b/components/button/__tests__/__snapshots__/index.test.js.snap
@@ -43,7 +43,26 @@ exports[`Button renders Chinese characters correctly 2`] = `
class="ant-btn"
type="button"
>
- search
+
+
+
按钮
@@ -86,7 +105,26 @@ exports[`Button renders Chinese characters correctly 4`] = `
class="ant-btn"
type="button"
>
- search
+
+
+
按钮
@@ -166,17 +204,6 @@ exports[`Button renders Chinese characters correctly 7`] = `
`;
-exports[`Button renders Chinese characters correctly 7`] = `
-
-`;
-
exports[`Button renders correctly 1`] = `
);
expect(wrapper1).toMatchSnapshot();
// should not insert space when there is icon
const wrapper2 = render(
@@ -38,11 +38,11 @@ describe('Button', () => {
);
expect(wrapper2).toMatchSnapshot();
// should not insert space when there is icon
- const wrapper3 = render(按钮);
+ const wrapper3 = render(}>按钮);
expect(wrapper3).toMatchSnapshot();
// should not insert space when there is icon while loading
const wrapper4 = render(
-
+ } loading>
按钮
,
);
diff --git a/components/progress/__tests__/__snapshots__/demo.test.js.snap b/components/progress/__tests__/__snapshots__/demo.test.js.snap
index c38e5b32ba..577ebc15b5 100644
--- a/components/progress/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/progress/__tests__/__snapshots__/demo.test.js.snap
@@ -218,13 +218,55 @@ exports[`renders ./components/progress/demo/circle-dynamic.md correctly 1`] = `
class="ant-btn ant-btn-icon-only"
type="button"
>
- minus
+
+
+
- plus
+
+
+
@@ -475,13 +517,55 @@ exports[`renders ./components/progress/demo/dynamic.md correctly 1`] = `
class="ant-btn ant-btn-icon-only"
type="button"
>
- minus
+
+
+
- plus
+
+
+
diff --git a/components/progress/demo/circle-dynamic.md b/components/progress/demo/circle-dynamic.md
index a445314ac1..dd45013248 100644
--- a/components/progress/demo/circle-dynamic.md
+++ b/components/progress/demo/circle-dynamic.md
@@ -15,6 +15,7 @@ A dynamic progress bar is better.
```jsx
import { Progress, Button } from 'antd';
+import { Minus as IconMinus, Plus as IconPlus } from '@ant-design/icons';
const ButtonGroup = Button.Group;
@@ -44,8 +45,8 @@ class App extends React.Component {
-
-
+ } />
+ } />
);
diff --git a/components/progress/demo/dynamic.md b/components/progress/demo/dynamic.md
index bac76547ba..2aad65a133 100644
--- a/components/progress/demo/dynamic.md
+++ b/components/progress/demo/dynamic.md
@@ -15,6 +15,7 @@ A dynamic progress bar is better.
```jsx
import { Progress, Button } from 'antd';
+import { Minus as IconMinus, Plus as IconPlus } from '@ant-design/icons';
const ButtonGroup = Button.Group;
@@ -44,8 +45,8 @@ class App extends React.Component {