|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/layout/demo/basic.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-layout"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-layout-header"
|
|
|
|
>
|
|
|
|
Header
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout-content"
|
|
|
|
>
|
|
|
|
Content
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout-footer"
|
|
|
|
>
|
|
|
|
Footer
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-layout-header"
|
|
|
|
>
|
|
|
|
Header
|
|
|
|
</div>
|
|
|
|
<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"
|
|
|
|
>
|
|
|
|
Sider
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout-content"
|
|
|
|
>
|
|
|
|
Content
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout-footer"
|
|
|
|
>
|
|
|
|
Footer
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-layout-header"
|
|
|
|
>
|
|
|
|
Header
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-layout-content"
|
|
|
|
>
|
|
|
|
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>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout-footer"
|
|
|
|
>
|
|
|
|
Footer
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<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"
|
|
|
|
>
|
|
|
|
Sider
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-layout-header"
|
|
|
|
>
|
|
|
|
Header
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout-content"
|
|
|
|
>
|
|
|
|
Content
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout-footer"
|
|
|
|
>
|
|
|
|
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"
|
|
|
|
/>
|
|
|
|
<span>
|
|
|
|
nav 1
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-menu-item"
|
|
|
|
role="menuitem"
|
|
|
|
style="padding-left:24px"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-video-camera"
|
|
|
|
/>
|
|
|
|
<span>
|
|
|
|
nav 2
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-menu-item"
|
|
|
|
role="menuitem"
|
|
|
|
style="padding-left:24px"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-upload"
|
|
|
|
/>
|
|
|
|
<span>
|
|
|
|
nav 3
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-layout"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-layout-header"
|
|
|
|
style="background:#fff;padding:0"
|
|
|
|
>
|
|
|
|
<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"
|
|
|
|
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"
|
|
|