2018-05-15 01:52:44 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/layout/demo/basic.md correctly 1`] = `
|
|
|
|
<div id="components-layout-demo-basic">
|
|
|
|
<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">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-sider ant-layout-sider-dark" style="max-width: 200px; min-width: 200px; width: 200px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<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>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-sider ant-layout-sider-dark" style="max-width: 200px; min-width: 200px; width: 200px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="ant-layout-sider-children">Sider</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ant-layout-footer">Footer</div>
|
|
|
|
</div>
|
|
|
|
<div class="ant-layout">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-sider ant-layout-sider-dark" style="max-width: 200px; min-width: 200px; width: 200px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<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`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" id="components-layout-demo-custom-trigger">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-sider ant-layout-sider-dark" style="max-width: 200px; min-width: 200px; width: 200px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="ant-layout-sider-children">
|
|
|
|
<div class="logo"></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-inline ant-menu-root ant-menu-dark" role="menu">
|
2018-09-05 13:58:32 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected" style="padding-left: 24px;"><i class="anticon anticon-user"></i> <span>nav 1</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-video-camera"></i> <span>nav 2</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-upload"></i> <span>nav 3</span></li>
|
2018-05-15 01:52:44 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ant-layout">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-layout-header" style="background: rgb(255, 255, 255); padding: 0px;"><i class="trigger anticon anticon-menu-fold"></i></div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-content" style="margin: 24px 16px; padding: 24px; background: rgb(255, 255, 255); min-height: 280px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
Content
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/layout/demo/fixed.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" id="components-layout-demo-fixed">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-header" style="position: fixed; z-index: 1; width: 100%;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="logo"></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-horizontal ant-menu-root ant-menu-dark" role="menu" style="line-height: 64px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item">nav 1</li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected">nav 2</li>
|
2018-05-15 01:52:44 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item">nav 3</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-content" style="padding: 0px 50px; margin-top: 64px;">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-breadcrumb" style="margin: 16px 0px;"><span class=""><span class="ant-breadcrumb-link">Home</span><span class="ant-breadcrumb-separator">/</span></span><span class=""><span class="ant-breadcrumb-link">List</span><span class="ant-breadcrumb-separator">/</span></span><span class=""><span class="ant-breadcrumb-link">App</span><span class="ant-breadcrumb-separator">/</span></span></div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div style="background: rgb(255, 255, 255); padding: 24px; min-height: 380px;">Content</div>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-footer" style="text-align: center;">
|
2018-09-05 13:28:54 +00:00
|
|
|
Ant Design ©2018 Created by Ant UED
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" id="components-layout-demo-fixed-sider">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-sider ant-layout-sider-dark" style="max-width: 200px; min-width: 200px; width: 200px; overflow: auto; height: 100vh; position: fixed; left: 0px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="ant-layout-sider-children">
|
|
|
|
<div class="logo"></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-inline ant-menu-root ant-menu-dark" role="menu">
|
2018-09-05 13:58:32 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-user"></i> <span class="nav-text">nav 1</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-video-camera"></i> <span class="nav-text">nav 2</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-upload"></i> <span class="nav-text">nav 3</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected" style="padding-left: 24px;"><i class="anticon anticon-bar-chart"></i> <span class="nav-text">nav 4</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-cloud-o"></i> <span class="nav-text">nav 5</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-appstore-o"></i> <span class="nav-text">nav 6</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-team"></i> <span class="nav-text">nav 7</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-shop"></i> <span class="nav-text">nav 8</span></li>
|
2018-05-15 01:52:44 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" style="margin-left: 200px;">
|
|
|
|
<div class="ant-layout-header" style="background: rgb(255, 255, 255); padding: 0px;"></div>
|
|
|
|
<div class="ant-layout-content" style="margin: 24px 16px 0px; overflow: initial;">
|
|
|
|
<div style="padding: 24px; background: rgb(255, 255, 255); text-align: center;">
|
2018-05-15 01:52:44 +00:00
|
|
|
...
|
2018-09-05 13:58:32 +00:00
|
|
|
<br>
|
|
|
|
Really
|
|
|
|
<br>...<br>...<br>...<br>
|
|
|
|
long
|
|
|
|
<br>...<br>...<br>...<br>...<br>...<br>...
|
|
|
|
<br>...<br>...<br>...<br>...<br>...<br>...
|
|
|
|
<br>...<br>...<br>...<br>...<br>...<br>...
|
|
|
|
<br>...<br>...<br>...<br>...<br>...<br>...
|
|
|
|
<br>...<br>...<br>...<br>...<br>...<br>...
|
|
|
|
<br>...<br>...<br>...<br>...<br>...<br>...
|
|
|
|
<br>...<br>...<br>...<br>...<br>...<br>
|
|
|
|
content
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-footer" style="text-align: center;">
|
2018-09-05 13:28:54 +00:00
|
|
|
Ant Design ©2018 Created by Ant UED
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/layout/demo/responsive.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" id="components-layout-demo-responsive">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-sider ant-layout-sider-dark" style="max-width: 200px; min-width: 200px; width: 200px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="ant-layout-sider-children">
|
|
|
|
<div class="logo"></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-inline ant-menu-root ant-menu-dark" role="menu">
|
2018-09-05 13:58:32 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-user"></i> <span class="nav-text">nav 1</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-video-camera"></i> <span class="nav-text">nav 2</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-upload"></i> <span class="nav-text">nav 3</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected" style="padding-left: 24px;"><i class="anticon anticon-user"></i> <span class="nav-text">nav 4</span></li>
|
2018-05-15 01:52:44 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ant-layout">
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-header" style="background: rgb(255, 255, 255); padding: 0px;"></div>
|
|
|
|
<div class="ant-layout-content" style="margin: 24px 16px 0px;">
|
|
|
|
<div style="padding: 24px; background: rgb(255, 255, 255); min-height: 360px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
content
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-footer" style="text-align: center;">
|
2018-09-05 13:28:54 +00:00
|
|
|
Ant Design ©2018 Created by Ant UED
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/layout/demo/side.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" id="components-layout-demo-side" style="min-height: 100vh;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-sider ant-layout-sider-dark ant-layout-sider-has-trigger" style="max-width: 200px; min-width: 200px; width: 200px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="ant-layout-sider-children">
|
|
|
|
<div class="logo"></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-inline ant-menu-root ant-menu-dark" role="menu">
|
2018-09-05 13:58:32 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected" style="padding-left: 24px;"><i class="anticon anticon-pie-chart"></i> <span>Option 1</span></li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-desktop"></i> <span>Option 2</span></li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-submenu ant-menu-submenu-inline">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div aria-haspopup="true" class="ant-menu-submenu-title" style="padding-left: 24px;"><span><i class="anticon anticon-user"></i><span>User</span></span><i class="ant-menu-submenu-arrow"></i></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div></div>
|
2018-05-15 01:52:44 +00:00
|
|
|
</li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-submenu ant-menu-submenu-inline">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div aria-haspopup="true" class="ant-menu-submenu-title" style="padding-left: 24px;"><span><i class="anticon anticon-team"></i><span>Team</span></span><i class="ant-menu-submenu-arrow"></i></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div></div>
|
2018-05-15 01:52:44 +00:00
|
|
|
</li>
|
2018-09-05 13:58:32 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 24px;"><i class="anticon anticon-file"></i> <span>File</span></li>
|
2018-05-15 01:52:44 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-layout-sider-trigger"><i class="anticon anticon-left"></i></div>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
<div class="ant-layout">
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-header" style="background: rgb(255, 255, 255); padding: 0px;"></div>
|
|
|
|
<div class="ant-layout-content" style="margin: 0px 16px;">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-breadcrumb" style="margin: 16px 0px;"><span class=""><span class="ant-breadcrumb-link">User</span><span class="ant-breadcrumb-separator">/</span></span><span class=""><span class="ant-breadcrumb-link">Bill</span><span class="ant-breadcrumb-separator">/</span></span></div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div style="padding: 24px; background: rgb(255, 255, 255); min-height: 360px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
Bill is a cat.
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-footer" style="text-align: center;">
|
2018-09-05 13:28:54 +00:00
|
|
|
Ant Design ©2018 Created by Ant UED
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/layout/demo/top.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="layout ant-layout" id="components-layout-demo-top">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="ant-layout-header">
|
|
|
|
<div class="logo"></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-horizontal ant-menu-root ant-menu-dark" role="menu" style="line-height: 64px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item">nav 1</li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected">nav 2</li>
|
2018-05-15 01:52:44 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item">nav 3</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-content" style="padding: 0px 50px;">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-breadcrumb" style="margin: 16px 0px;"><span class=""><span class="ant-breadcrumb-link">Home</span><span class="ant-breadcrumb-separator">/</span></span><span class=""><span class="ant-breadcrumb-link">List</span><span class="ant-breadcrumb-separator">/</span></span><span class=""><span class="ant-breadcrumb-link">App</span><span class="ant-breadcrumb-separator">/</span></span></div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div style="background: rgb(255, 255, 255); padding: 24px; min-height: 280px;">Content</div>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-footer" style="text-align: center;">
|
2018-09-05 13:28:54 +00:00
|
|
|
Ant Design ©2018 Created by Ant UED
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/layout/demo/top-side.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" id="components-layout-demo-top-side">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="header ant-layout-header">
|
|
|
|
<div class="logo"></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-horizontal ant-menu-root ant-menu-dark" role="menu" style="line-height: 64px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item">nav 1</li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected">nav 2</li>
|
2018-05-15 01:52:44 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item">nav 3</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-content" style="padding: 0px 50px;">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-breadcrumb" style="margin: 16px 0px;"><span class=""><span class="ant-breadcrumb-link">Home</span><span class="ant-breadcrumb-separator">/</span></span><span class=""><span class="ant-breadcrumb-link">List</span><span class="ant-breadcrumb-separator">/</span></span><span class=""><span class="ant-breadcrumb-link">App</span><span class="ant-breadcrumb-separator">/</span></span></div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" style="padding: 24px 0px; background: rgb(255, 255, 255);">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-sider ant-layout-sider-dark" style="max-width: 200px; min-width: 200px; width: 200px; background: rgb(255, 255, 255);">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="ant-layout-sider-children">
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-inline ant-menu-root ant-menu-light" role="menu" style="height: 100%;">
|
|
|
|
<li role="menuitem" class="ant-menu-submenu ant-menu-submenu-inline ant-menu-submenu-open ant-menu-submenu-selected">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div aria-expanded="true" aria-owns="sub1$Menu" aria-haspopup="true" class="ant-menu-submenu-title" style="padding-left: 24px;"><span><i class="anticon anticon-user"></i>subnav 1</span><i class="ant-menu-submenu-arrow"></i></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-inline ant-menu-sub" role="menu">
|
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected" style="padding-left: 48px;">option1</li>
|
2018-05-18 14:04:10 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 48px;">option2</li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 48px;">option3</li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 48px;">option4</li>
|
2018-05-15 01:52:44 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-submenu ant-menu-submenu-inline">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div aria-haspopup="true" class="ant-menu-submenu-title" style="padding-left: 24px;"><span><i class="anticon anticon-laptop"></i>subnav 2</span><i class="ant-menu-submenu-arrow"></i></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div></div>
|
2018-05-15 01:52:44 +00:00
|
|
|
</li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-submenu ant-menu-submenu-inline">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div aria-haspopup="true" class="ant-menu-submenu-title" style="padding-left: 24px;"><span><i class="anticon anticon-notification"></i>subnav 3</span><i class="ant-menu-submenu-arrow"></i></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div></div>
|
2018-05-15 01:52:44 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-content" style="padding: 0px 24px; min-height: 280px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
Content
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-footer" style="text-align: center;">
|
2018-09-05 13:28:54 +00:00
|
|
|
Ant Design ©2018 Created by Ant UED
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" id="components-layout-demo-top-side-2">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="header ant-layout-header">
|
|
|
|
<div class="logo"></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-horizontal ant-menu-root ant-menu-dark" role="menu" style="line-height: 64px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item">nav 1</li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected">nav 2</li>
|
2018-05-15 01:52:44 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item">nav 3</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="ant-layout">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-layout-sider ant-layout-sider-dark" style="max-width: 200px; min-width: 200px; width: 200px; background: rgb(255, 255, 255);">
|
2018-05-15 01:52:44 +00:00
|
|
|
<div class="ant-layout-sider-children">
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-inline ant-menu-root ant-menu-light" role="menu" style="height: 100%; border-right: 0;">
|
|
|
|
<li role="menuitem" class="ant-menu-submenu ant-menu-submenu-inline ant-menu-submenu-open ant-menu-submenu-selected">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div aria-expanded="true" aria-owns="sub1$Menu" aria-haspopup="true" class="ant-menu-submenu-title" style="padding-left: 24px;"><span><i class="anticon anticon-user"></i>subnav 1</span><i class="ant-menu-submenu-arrow"></i></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<ul class="ant-menu ant-menu-inline ant-menu-sub" role="menu">
|
|
|
|
<li role="menuitem" class="ant-menu-item ant-menu-item-selected" style="padding-left: 48px;">option1</li>
|
2018-05-18 14:04:10 +00:00
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 48px;">option2</li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 48px;">option3</li>
|
|
|
|
<li role="menuitem" class="ant-menu-item" style="padding-left: 48px;">option4</li>
|
2018-05-15 01:52:44 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-submenu ant-menu-submenu-inline">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div aria-haspopup="true" class="ant-menu-submenu-title" style="padding-left: 24px;"><span><i class="anticon anticon-laptop"></i>subnav 2</span><i class="ant-menu-submenu-arrow"></i></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div></div>
|
2018-05-15 01:52:44 +00:00
|
|
|
</li>
|
2018-09-05 13:28:54 +00:00
|
|
|
<li role="menuitem" class="ant-menu-submenu ant-menu-submenu-inline">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div aria-haspopup="true" class="ant-menu-submenu-title" style="padding-left: 24px;"><span><i class="anticon anticon-notification"></i>subnav 3</span><i class="ant-menu-submenu-arrow"></i></div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div></div>
|
2018-05-15 01:52:44 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout" style="padding: 0px 24px 24px;">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-breadcrumb" style="margin: 16px 0px;"><span class=""><span class="ant-breadcrumb-link">Home</span><span class="ant-breadcrumb-separator">/</span></span><span class=""><span class="ant-breadcrumb-link">List</span><span class="ant-breadcrumb-separator">/</span></span><span class=""><span class="ant-breadcrumb-link">App</span><span class="ant-breadcrumb-separator">/</span></span></div>
|
2018-05-18 14:04:10 +00:00
|
|
|
<div class="ant-layout-content" style="background: rgb(255, 255, 255); padding: 24px; margin: 0px; min-height: 280px;">
|
2018-05-15 01:52:44 +00:00
|
|
|
Content
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|