You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

127 lines
1.9 KiB

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