2018-07-10 12:29:20 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Layout renders string width correctly 1`] = `
|
2019-02-14 17:51:52 +08:00
|
|
|
<aside
|
2018-07-10 12:29:20 +08:00
|
|
|
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>
|
2019-02-14 17:51:52 +08:00
|
|
|
</aside>
|
2018-07-10 12:29:20 +08:00
|
|
|
`;
|
2020-01-02 19:10:16 +08:00
|
|
|
|
|
|
|
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"
|
2021-12-04 17:06:36 +08:00
|
|
|
style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"
|
2020-01-02 19:10:16 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-layout-sider-children"
|
|
|
|
/>
|
|
|
|
</aside>
|
|
|
|
`;
|
2020-11-20 08:56:12 +08:00
|
|
|
|
|
|
|
exports[`Layout should be controlled by collapsed 1`] = `
|
2022-04-18 21:02:11 +08:00
|
|
|
<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"
|
2020-11-20 08:56:12 +08:00
|
|
|
>
|
2022-04-18 21:02:11 +08:00
|
|
|
Sider
|
|
|
|
</div>
|
|
|
|
</aside>
|
2020-11-20 08:56:12 +08:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Layout should be controlled by collapsed 2`] = `
|
2022-04-18 21:02:11 +08:00
|
|
|
<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;"
|
2020-11-20 08:56:12 +08:00
|
|
|
>
|
2022-04-18 21:02:11 +08:00
|
|
|
<div
|
|
|
|
class="ant-layout-sider-children"
|
2020-11-20 08:56:12 +08:00
|
|
|
>
|
2022-04-18 21:02:11 +08:00
|
|
|
Sider
|
|
|
|
</div>
|
|
|
|
</aside>
|
2020-11-20 08:56:12 +08:00
|
|
|
`;
|