diff --git a/components/button/__tests__/__snapshots__/demo.test.js.snap b/components/button/__tests__/__snapshots__/demo.test.js.snap
index 25b7df6310..5962bdb9be 100644
--- a/components/button/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/button/__tests__/__snapshots__/demo.test.js.snap
@@ -1,29 +1,35 @@
-exports[`test renders ./components/button/demo/basic.md correctly 1`] = `
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`renders ./components/button/demo/basic.md correctly 1`] = `
`;
-exports[`test renders ./components/button/demo/button-group.md correctly 1`] = `
+exports[`renders ./components/button/demo/button-group.md correctly 1`] = `
Basic
+ class="ant-btn-group"
+ >
+ class="ant-btn-group"
+ >
+ class="ant-btn-group"
+ >
+ type="button"
+ >
L
+ type="button"
+ >
M
+ type="button"
+ >
M
+ type="button"
+ >
R
@@ -115,49 +133,60 @@ exports[`test renders ./components/button/demo/button-group.md correctly 1`] = `
With Icon
+ class="ant-btn-group"
+ >
+ type="button"
+ >
+ class="anticon anticon-left"
+ />
Go back
+ type="button"
+ >
Go forward
+ class="anticon anticon-right"
+ />
+ class="ant-btn-group"
+ >
+ type="button"
+ >
+ class="anticon anticon-cloud"
+ />
+ type="button"
+ >
+ class="anticon anticon-cloud-download"
+ />
`;
-exports[`test renders ./components/button/demo/disabled.md correctly 1`] = `
+exports[`renders ./components/button/demo/disabled.md correctly 1`] = `
+ type="button"
+ >
Primary
@@ -165,7 +194,8 @@ exports[`test renders ./components/button/demo/disabled.md correctly 1`] = `
+ type="button"
+ >
Primary(disabled)
@@ -173,7 +203,8 @@ exports[`test renders ./components/button/demo/disabled.md correctly 1`] = `
+ type="button"
+ >
Default
@@ -181,7 +212,8 @@ exports[`test renders ./components/button/demo/disabled.md correctly 1`] = `
+ type="button"
+ >
Default(disabled)
@@ -189,7 +221,8 @@ exports[`test renders ./components/button/demo/disabled.md correctly 1`] = `
+ type="button"
+ >
Ghost
@@ -197,7 +230,8 @@ exports[`test renders ./components/button/demo/disabled.md correctly 1`] = `
+ type="button"
+ >
Ghost(disabled)
@@ -205,7 +239,8 @@ exports[`test renders ./components/button/demo/disabled.md correctly 1`] = `
+ type="button"
+ >
Dashed
@@ -213,7 +248,8 @@ exports[`test renders ./components/button/demo/disabled.md correctly 1`] = `
+ type="button"
+ >
Dashed(disabled)
@@ -221,26 +257,30 @@ exports[`test renders ./components/button/demo/disabled.md correctly 1`] = `
`;
-exports[`test renders ./components/button/demo/ghost.md correctly 1`] = `
+exports[`renders ./components/button/demo/ghost.md correctly 1`] = `
+ style="background:rgb(190, 200, 200);padding:26px 16px 16px;"
+>
+ type="button"
+ >
Primary Ghost
+ type="button"
+ >
Default Ghost
+ type="button"
+ >
Dashed Ghost
@@ -248,34 +288,42 @@ exports[`test renders ./components/button/demo/ghost.md correctly 1`] = `
`;
-exports[`test renders ./components/button/demo/icon.md correctly 1`] = `
+exports[`renders ./components/button/demo/icon.md correctly 1`] = `
+ type="button"
+ >
+ class="anticon anticon-search"
+ />
+ type="button"
+ >
+ class="anticon anticon-search"
+ />
Search
+ type="button"
+ >
+ class="anticon anticon-search"
+ />
+ type="button"
+ >
+ class="anticon anticon-search"
+ />
Search
@@ -283,30 +331,38 @@ exports[`test renders ./components/button/demo/icon.md correctly 1`] = `
+ type="button"
+ >
+ class="anticon anticon-search"
+ />
+ type="button"
+ >
+ class="anticon anticon-search"
+ />
Search
+ type="button"
+ >
+ class="anticon anticon-search"
+ />
+ type="button"
+ >
+ class="anticon anticon-search"
+ />
Search
@@ -314,22 +370,26 @@ exports[`test renders ./components/button/demo/icon.md correctly 1`] = `
`;
-exports[`test renders ./components/button/demo/loading.md correctly 1`] = `
+exports[`renders ./components/button/demo/loading.md correctly 1`] = `
+ type="button"
+ >
+ class="anticon anticon-spin anticon-loading"
+ />
Loading
+ type="button"
+ >
+ class="anticon anticon-spin anticon-loading"
+ />
Loading
@@ -337,113 +397,138 @@ exports[`test renders ./components/button/demo/loading.md correctly 1`] = `
+ type="button"
+ >
Click me!
+ type="button"
+ >
+ class="anticon anticon-poweroff"
+ />
Click me!
+ type="button"
+ >
- Won\'t show loading
+ Won't show loading
+ type="button"
+ >
+ class="anticon anticon-spin anticon-loading"
+ />
+ type="button"
+ >
+ class="anticon anticon-spin anticon-loading"
+ />
`;
-exports[`test renders ./components/button/demo/multiple.md correctly 1`] = `
+exports[`renders ./components/button/demo/multiple.md correctly 1`] = `
+ type="button"
+ >
primary
+ type="button"
+ >
secondary
+ type="button"
+ >
more
+ class="anticon anticon-down"
+ />
`;
-exports[`test renders ./components/button/demo/size.md correctly 1`] = `
+exports[`renders ./components/button/demo/size.md correctly 1`] = `
diff --git a/components/button/__tests__/__snapshots__/index.test.js.snap b/components/button/__tests__/__snapshots__/index.test.js.snap
index e9c1b2ac20..241cda8c8d 100644
--- a/components/button/__tests__/__snapshots__/index.test.js.snap
+++ b/components/button/__tests__/__snapshots__/index.test.js.snap
@@ -1,7 +1,10 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
exports[`Button renders Chinese characters correctly 1`] = `
+ type="button"
+>
按 钮
@@ -11,7 +14,8 @@ exports[`Button renders Chinese characters correctly 1`] = `
exports[`Button renders correctly 1`] = `
+ type="button"
+>
Follow
diff --git a/components/calendar/__tests__/__snapshots__/demo.test.js.snap b/components/calendar/__tests__/__snapshots__/demo.test.js.snap
index 786d6c7857..8b2c1a013b 100644
--- a/components/calendar/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/calendar/__tests__/__snapshots__/demo.test.js.snap
@@ -1,10 +1,15 @@
-exports[`test renders ./components/calendar/demo/basic.md correctly 1`] = `
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
+ class=" ant-fullcalendar-fullscreen"
+>