@@ -13,9 +13,7 @@ exports[`renders ./components/button/demo/button-group.md correctly 1`] = `
13
13
<h4 >With Icon</h4 >
14
14
<div class = " ant-btn-group" ><button type = " button" class = " ant-btn ant-btn-primary" ><i class = " anticon anticon-left" ><svg viewBox = " 64 64 896 896" data-icon = " left" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
15
15
<path d = " M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" ></path >
16
- </svg ></i >Go back
17
- </button ><button type = " button" class = " ant-btn ant-btn-primary" >
18
- Go forward<i class = " anticon anticon-right" ><svg viewBox = " 64 64 896 896" data-icon = " right" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
16
+ </svg ></i ><span >Go back</span ></button ><button type = " button" class = " ant-btn ant-btn-primary" ><span >Go forward</span ><i class = " anticon anticon-right" ><svg viewBox = " 64 64 896 896" data-icon = " right" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
19
17
<path d = " M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 0 0 0-50.4z" ></path >
20
18
</svg ></i ></button ></div >
21
19
<div class = " ant-btn-group" ><button type = " button" class = " ant-btn ant-btn-primary" ><i class = " anticon anticon-cloud" ><svg viewBox = " 64 64 896 896" data-icon = " cloud" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
@@ -70,8 +68,7 @@ exports[`renders ./components/button/demo/loading.md correctly 1`] = `
70
68
`;
71
69
72
70
exports[`renders ./components/button/demo/multiple.md correctly 1`] = `
73
- <div ><button type = " button" class = " ant-btn ant-btn-primary" ><span >Primary</span ></button > <button type = " button" class = " ant-btn ant-btn-default" ><span >secondary</span ></button > <button type = " button" class = " ant-btn ant-btn-default ant-dropdown-trigger" >
74
- Actions <i class = " anticon anticon-down" ><svg viewBox = " 64 64 896 896" data-icon = " down" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
71
+ <div ><button type = " button" class = " ant-btn ant-btn-primary" ><span >Primary</span ></button > <button type = " button" class = " ant-btn ant-btn-default" ><span >secondary</span ></button > <button type = " button" class = " ant-btn ant-btn-default ant-dropdown-trigger" ><span >Actions</span ><i class = " anticon anticon-down" ><svg viewBox = " 64 64 896 896" data-icon = " down" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
75
72
<path d = " M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" ></path >
76
73
</svg ></i ></button ></div >
77
74
`;
@@ -85,9 +82,7 @@ exports[`renders ./components/button/demo/size.md correctly 1`] = `
85
82
</svg ></i ><span >Download</span ></button > <br >
86
83
<div class = " ant-btn-group ant-btn-group-lg" ><button type = " button" class = " ant-btn ant-btn-primary" ><i class = " anticon anticon-left" ><svg viewBox = " 64 64 896 896" data-icon = " left" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
87
84
<path d = " M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" ></path >
88
- </svg ></i >Backward
89
- </button ><button type = " button" class = " ant-btn ant-btn-primary" >
90
- Forward<i class = " anticon anticon-right" ><svg viewBox = " 64 64 896 896" data-icon = " right" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
85
+ </svg ></i ><span >Backward</span ></button ><button type = " button" class = " ant-btn ant-btn-primary" ><span >Forward</span ><i class = " anticon anticon-right" ><svg viewBox = " 64 64 896 896" data-icon = " right" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" class = " " >
91
86
<path d = " M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 0 0 0-50.4z" ></path >
92
87
</svg ></i ></button ></div >
93
88
</div >
0 commit comments