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.

1348 lines
27 KiB

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/layout/demo/basic.md correctly 1`] = `
8 years ago
<div>
<div
class="ant-layout"
>
8 years ago
<div
class="ant-layout-header"
>
8 years ago
Header
</div>
<div
class="ant-layout-content"
>
8 years ago
Content
</div>
<div
class="ant-layout-footer"
>
8 years ago
Footer
</div>
</div>
<div
class="ant-layout"
>
8 years ago
<div
class="ant-layout-header"
>
8 years ago
Header
</div>
<div
class="ant-layout"
>
8 years ago
<div
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>
8 years ago
</div>
<div
class="ant-layout-content"
>
8 years ago
Content
</div>
</div>
<div
class="ant-layout-footer"
>
8 years ago
Footer
</div>
</div>
<div
class="ant-layout"
>
8 years ago
<div
class="ant-layout-header"
>
8 years ago
Header
</div>
<div
class="ant-layout"
>
8 years ago
<div
class="ant-layout-content"
>
8 years ago
Content
</div>
<div
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>
8 years ago
</div>
</div>
<div
class="ant-layout-footer"
>
8 years ago
Footer
</div>
</div>
<div
class="ant-layout"
>
8 years ago
<div
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>
8 years ago
</div>
<div
class="ant-layout"
>
8 years ago
<div
class="ant-layout-header"
>
8 years ago
Header
</div>
<div
class="ant-layout-content"
>
8 years ago
Content
</div>
<div
class="ant-layout-footer"
>
8 years ago
Footer
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/layout/demo/custom-trigger.md correctly 1`] = `
<div
class="ant-layout"
>
<div
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"
>
<div
class="logo"
/>
<ul
class="ant-menu ant-menu-dark ant-menu-root ant-menu-inline"
role="menu"
>
<li
class="ant-menu-item ant-menu-item-selected"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon anticon-user"
/>
8 years ago
<span>
nav 1
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon anticon-video-camera"
/>
8 years ago
<span>
nav 2
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon anticon-upload"
/>
8 years ago
<span>
nav 3
</span>
</li>
</ul>
</div>
</div>
<div
class="ant-layout"
>
<div
8 years ago
class="ant-layout-header"
style="background:#fff;padding:0"
>
8 years ago
<i
class="anticon anticon-menu-fold trigger"
/>
</div>
<div
class="ant-layout-content"
style="margin:24px 16px;padding:24px;background:#fff;min-height:280px"
>
Content
</div>
</div>
</div>
`;
exports[`renders ./components/layout/demo/fixed.md correctly 1`] = `
<div
class="ant-layout"
>
<div
class="ant-layout-header"
7 years ago
style="position:fixed;z-index:1;width:100%"
>
<div
class="logo"
/>
<ul
class="ant-menu ant-menu-dark ant-menu-root ant-menu-horizontal"
role="menu"
style="line-height:64px"
>
<li
class="ant-menu-item"
role="menuitem"
>
nav 1
</li>
<li
class="ant-menu-item ant-menu-item-selected"
role="menuitem"
>
nav 2
</li>
<li
class="ant-menu-item"
role="menuitem"
>
nav 3
</li>
</ul>
</div>
<div
class="ant-layout-content"
style="padding:0 50px;margin-top:64px"
>
<div
class="ant-breadcrumb"
style="margin:16px 0"
>
<span>
<span
class="ant-breadcrumb-link"
>
Home
</span>
<span
class="ant-breadcrumb-separator"
>
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link"
>
List
</span>
<span
class="ant-breadcrumb-separator"