ant-design/components/space/__tests__/__snapshots__/index.test.js.snap
Tom Xu 2eec689d74
feat: Space add split (#26948)
* 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
2020-10-08 18:41:40 +08:00

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>
`;