mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
2eec689d74
* feat: Space add split * Update index.en-US.md * changed * improve * improve * Update demo.test.js.snap * Update vertical-split.md * Update demo.test.js.snap * remove vertical-split * Update demo.test.js.snap
128 lines
1.9 KiB
Plaintext
128 lines
1.9 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Space should render correct with children 1`] = `
|
|
<div
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
>
|
|
<div
|
|
class="ant-space-item"
|
|
style="margin-right:8px"
|
|
>
|
|
text1
|
|
</div>
|
|
<div
|
|
class="ant-space-item"
|
|
style="margin-right:8px"
|
|
>
|
|
<span>
|
|
text1
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-space-item"
|
|
>
|
|
text3
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Space should render width ConfigProvider 1`] = `
|
|
Array [
|
|
<div
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
>
|
|
<div
|
|
class="ant-space-item"
|
|
style="margin-right:24px"
|
|
>
|
|
<span>
|
|
1
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-space-item"
|
|
>
|
|
<span>
|
|
2
|
|
</span>
|
|
</div>
|
|
</div>,
|
|
<div
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
>
|
|
<div
|
|
class="ant-space-item"
|
|
style="margin-right:16px"
|
|
>
|
|
<span>
|
|
1
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-space-item"
|
|
>
|
|
<span>
|
|
2
|
|
</span>
|
|
</div>
|
|
</div>,
|
|
<div
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
>
|
|
<div
|
|
class="ant-space-item"
|
|
style="margin-right:24px"
|
|
>
|
|
<span>
|
|
1
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-space-item"
|
|
>
|
|
<span>
|
|
2
|
|
</span>
|
|
</div>
|
|
</div>,
|
|
]
|
|
`;
|
|
|
|
exports[`Space split 1`] = `
|
|
<div
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
>
|
|
<div
|
|
class="ant-space-item"
|
|
style="margin-right:4px"
|
|
>
|
|
text1
|
|
</div>
|
|
<span
|
|
class="ant-space-item-split"
|
|
style="margin-right:4px"
|
|
>
|
|
-
|
|
</span>
|
|
<div
|
|
class="ant-space-item"
|
|
style="margin-right:4px"
|
|
>
|
|
<span>
|
|
text1
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="ant-space-item-split"
|
|
style="margin-right:4px"
|
|
>
|
|
-
|
|
</span>
|
|
<div
|
|
class="ant-space-item"
|
|
>
|
|
text3
|
|
</div>
|
|
</div>
|
|
`;
|