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.
63 lines
1.4 KiB
63 lines
1.4 KiB
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Layout renders string width correctly 1`] = `
|
|
<aside
|
|
class="ant-layout-sider ant-layout-sider-dark"
|
|
style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"
|
|
>
|
|
<div
|
|
class="ant-layout-sider-children"
|
|
>
|
|
Sider
|
|
</div>
|
|
</aside>
|
|
`;
|
|
|
|
exports[`Layout rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
<section
|
|
class="ant-layout ant-layout-rtl"
|
|
/>
|
|
`;
|
|
|
|
exports[`Layout rtl render component should be rendered correctly in RTL direction 2`] = `
|
|
<main
|
|
class="ant-layout-content"
|
|
/>
|
|
`;
|
|
|
|
exports[`Layout rtl render component should be rendered correctly in RTL direction 3`] = `
|
|
<aside
|
|
class="ant-layout-sider ant-layout-sider-dark"
|
|
style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"
|
|
>
|
|
<div
|
|
class="ant-layout-sider-children"
|
|
/>
|
|
</aside>
|
|
`;
|
|
|
|
exports[`Layout should be controlled by collapsed 1`] = `
|
|
<aside
|
|
class="ant-layout-sider ant-layout-sider-dark"
|
|
style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"
|
|
>
|
|
<div
|
|
class="ant-layout-sider-children"
|
|
>
|
|
Sider
|
|
</div>
|
|
</aside>
|
|
`;
|
|
|
|
exports[`Layout should be controlled by collapsed 2`] = `
|
|
<aside
|
|
class="ant-layout-sider ant-layout-sider-dark ant-layout-sider-collapsed"
|
|
style="max-width: 80px; min-width: 80px; width: 80px; flex: 0 0 80px;"
|
|
>
|
|
<div
|
|
class="ant-layout-sider-children"
|
|
>
|
|
Sider
|
|
</div>
|
|
</aside>
|
|
`;
|
|
|