ant-design/components/layout/__tests__/__snapshots__/demo.test.js.snap

1743 lines
53 KiB
Plaintext

// 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"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M633.6 240.4C601.1 207.9 557.9 190 512 190s-89.1 17.9-121.6 50.4S340 316.1 340 362c0 45.9 17.9 89.1 50.4 121.6S466.1 534 512 534s89.1-17.9 121.6-50.4S684 407.9 684 362c0-45.9-17.9-89.1-50.4-121.6z"
fill="none"
/>
<path
d="M858.5 763.6c-18.9-44.8-46.1-85-80.6-119.5-34.5-34.5-74.7-61.6-119.5-80.6-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6-34.5 34.5-61.6 74.7-80.6 119.5C146.9 807.5 137 854 136 901.8c-.1 4.5 3.5 8.2 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60c4.5 0 8.1-3.7 8-8.2-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
/>
</svg>
</i>
<span>
nav 1
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
/>
<span>
nav 2
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="upload"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163c-3.2-4.1-9.4-4.1-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z"
/>
<path
d="M878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
/>
</svg>
</i>
<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 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"
>
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link"
>
App
</span>
<span
class="ant-breadcrumb-separator"
>
/
</span>
</span>
</div>
<div
style="background:#fff;padding:24px;min-height:380px"
>
Content
</div>
</div>
<div
class="ant-layout-footer"
style="text-align:center"
>
Ant Design ©2018 Created by Ant UED
</div>
</div>
`;
exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
<div
class="ant-layout"
>
<div
class="ant-layout-sider ant-layout-sider-dark"
style="overflow:auto;height:100vh;position:fixed;left:0;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"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M633.6 240.4C601.1 207.9 557.9 190 512 190s-89.1 17.9-121.6 50.4S340 316.1 340 362c0 45.9 17.9 89.1 50.4 121.6S466.1 534 512 534s89.1-17.9 121.6-50.4S684 407.9 684 362c0-45.9-17.9-89.1-50.4-121.6z"
fill="none"
/>
<path
d="M858.5 763.6c-18.9-44.8-46.1-85-80.6-119.5-34.5-34.5-74.7-61.6-119.5-80.6-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6-34.5 34.5-61.6 74.7-80.6 119.5C146.9 807.5 137 854 136 901.8c-.1 4.5 3.5 8.2 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60c4.5 0 8.1-3.7 8-8.2-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
/>
</svg>
</i>
<span
class="nav-text"
>
nav 1
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
/>
<span
class="nav-text"
>
nav 2
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="upload"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163c-3.2-4.1-9.4-4.1-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z"
/>
<path
d="M878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
/>
</svg>
</i>
<span
class="nav-text"
>
nav 3
</span>
</li>
<li
class="ant-menu-item ant-menu-item-selected"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="bar-chart"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"
/>
<path
d="M288 712h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zM440 712h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zM592 712h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zM744 712h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"
/>
</svg>
</i>
<span
class="nav-text"
>
nav 4
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
/>
<span
class="nav-text"
>
nav 5
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
/>
<span
class="nav-text"
>
nav 6
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="team"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M701.6 392.6c-24.2-23.7-57.1-36.9-91-36.6-34.3.3-66.4 14.1-90.4 38.7-22.9 23.5-36 55.2-36.3 88-.3 34.7 13 67.3 37.5 91.8 24.2 24.2 56.3 37.5 90.5 37.5s66.4-13.3 90.5-37.5c24.2-24.2 37.5-56.3 37.5-90.5.1-34.6-13.5-67.1-38.3-91.4z"
fill="none"
/>
<path
d="M824.2 699.9c-25.4-25.4-54.7-45.7-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5-31.7 14.7-60.9 34.9-86.4 60.4C345 754.6 314 826.8 312 903.8c-.1 4.5 3.5 8.2 8 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C493.8 707.7 551.1 684 612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56c4.5 0 8.1-3.7 8-8.2-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5-24.5-24.5-37.9-57.1-37.5-91.8.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5-24.2 24.2-56.4 37.5-90.6 37.5z"
/>
<path
d="M361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1-25.8-25.2-39.7-59.3-38.7-95.4.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204-.1 4.5 3.5 8.2 8 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"
/>
</svg>
</i>
<span
class="nav-text"
>
nav 7
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="shop"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
class="st0"
d="M448 736h128v104.1H448zM214 184h596v88H214z"
/>
<path
class="st0"
d="M730.7 616c-24.4 0-48-4.7-70.4-14.1-13.8-5.8-26.8-13.2-38.7-22.1-.2-.1-.4-.1-.6 0-11.9 8.9-24.8 16.3-38.7 22.1-22.3 9.4-46 14.1-70.4 14.1-24.4 0-48-4.7-70.4-14.1-13.8-5.8-26.8-13.2-38.7-22.1-.2-.1-.4-.1-.6 0-11.9 8.9-24.8 16.3-38.7 22.1-22.3 9.4-46 14.1-70.4 14.1s-48-4.7-70.4-14.1c-3-1.3-6-2.6-9-4v242.2h170V704c0-17.7 14.3-32 32-32h192c17.7 0 32 14.3 32 32v136.1h170V597.9c-2.9 1.4-5.9 2.8-9 4-22 9.4-45.7 14.1-70 14.1zM839.5 344h-655c-.3 0-.5.2-.5.5v91.2c0 59.8 49 108.3 109.3 108.3 40.7 0 76.2-22 95-54.7 3-5.1 8.4-8.3 14.3-8.3s11.4 3.2 14.3 8.3c18.8 32.7 54.3 54.7 95 54.7 40.8 0 76.4-22.1 95.2-54.9 2.9-5 8.1-8.1 13.9-8.1h.6c5.7 0 11 3.1 13.9 8.1 18.8 32.8 54.4 54.9 95.2 54.9C791 544 840 495.5 840 435.7v-91.2c0-.3-.2-.5-.5-.5z"
/>
<path
d="M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7c0 24.4 4.8 48.1 14.4 70.4 4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535c6.1-9.1 11.3-18.8 15.6-28.9 9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0 11.9 8.9 24.8 16.3 38.7 22.1 22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0 11.9 8.9 24.8 16.3 38.7 22.1 22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm30-404.4c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1-18.7 32.8-54.3 54.9-95.1 54.9-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3C369.5 522 334 544 293.3 544 233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z"
/>
</svg>
</i>
<span
class="nav-text"
>
nav 8
</span>
</li>
</ul>
</div>
</div>
<div
class="ant-layout"
style="margin-left:200px"
>
<div
class="ant-layout-header"
style="background:#fff;padding:0"
/>
<div
class="ant-layout-content"
style="margin:24px 16px 0;overflow:initial"
>
<div
style="padding:24px;background:#fff;text-align:center"
>
...
<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
</div>
</div>
<div
class="ant-layout-footer"
style="text-align:center"
>
Ant Design ©2018 Created by Ant UED
</div>
</div>
</div>
`;
exports[`renders ./components/layout/demo/responsive.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"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M633.6 240.4C601.1 207.9 557.9 190 512 190s-89.1 17.9-121.6 50.4S340 316.1 340 362c0 45.9 17.9 89.1 50.4 121.6S466.1 534 512 534s89.1-17.9 121.6-50.4S684 407.9 684 362c0-45.9-17.9-89.1-50.4-121.6z"
fill="none"
/>
<path
d="M858.5 763.6c-18.9-44.8-46.1-85-80.6-119.5-34.5-34.5-74.7-61.6-119.5-80.6-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6-34.5 34.5-61.6 74.7-80.6 119.5C146.9 807.5 137 854 136 901.8c-.1 4.5 3.5 8.2 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60c4.5 0 8.1-3.7 8-8.2-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
/>
</svg>
</i>
<span
class="nav-text"
>
nav 1
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
/>
<span
class="nav-text"
>
nav 2
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="upload"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163c-3.2-4.1-9.4-4.1-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z"
/>
<path
d="M878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
/>
</svg>
</i>
<span
class="nav-text"
>
nav 3
</span>
</li>
<li
class="ant-menu-item ant-menu-item-selected"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M633.6 240.4C601.1 207.9 557.9 190 512 190s-89.1 17.9-121.6 50.4S340 316.1 340 362c0 45.9 17.9 89.1 50.4 121.6S466.1 534 512 534s89.1-17.9 121.6-50.4S684 407.9 684 362c0-45.9-17.9-89.1-50.4-121.6z"
fill="none"
/>
<path
d="M858.5 763.6c-18.9-44.8-46.1-85-80.6-119.5-34.5-34.5-74.7-61.6-119.5-80.6-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6-34.5 34.5-61.6 74.7-80.6 119.5C146.9 807.5 137 854 136 901.8c-.1 4.5 3.5 8.2 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60c4.5 0 8.1-3.7 8-8.2-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
/>
</svg>
</i>
<span
class="nav-text"
>
nav 4
</span>
</li>
</ul>
</div>
</div>
<div
class="ant-layout"
>
<div
class="ant-layout-header"
style="background:#fff;padding:0"
/>
<div
class="ant-layout-content"
style="margin:24px 16px 0"
>
<div
style="padding:24px;background:#fff;min-height:360px"
>
content
</div>
</div>
<div
class="ant-layout-footer"
style="text-align:center"
>
Ant Design ©2018 Created by Ant UED
</div>
</div>
</div>
`;
exports[`renders ./components/layout/demo/side.md correctly 1`] = `
<div
class="ant-layout"
style="min-height:100vh"
>
<div
class="ant-layout-sider ant-layout-sider-dark ant-layout-sider-has-trigger"
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"
>
<svg
aria-hidden="true"
data-icon="pie-chart"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
class="st0"
d="M619.8 147.6v256.6l256.4-.6c-13-62.6-44.2-120.6-90-166.2-45.7-45.6-103.7-76.8-166.4-89.8z"
/>
<path
class="st0"
d="M438 221.7c-75.8 7.7-146.1 40.9-200.8 95.5C174.5 379.9 140 463.3 140 552c0 88.7 34.5 172.1 97.2 234.8 62.3 62.3 145.1 96.8 233.2 97.2 88.2.4 172.7-34.1 235.3-96.2C761 733 794.6 662.3 802.3 586H438V221.7z"
/>
<path
d="M864 518H506V160c0-4.4-3.6-8-8-8h-26c-54 0-106.4 10.6-155.7 31.4-47.6 20.1-90.4 49-127.1 85.7-36.7 36.7-65.6 79.5-85.7 127.1C82.6 445.6 72 498 72 552c0 54 10.6 106.4 31.4 155.7 20.1 47.6 49 90.4 85.7 127.1 36.7 36.7 79.5 65.6 127.1 85.7C365.6 941.4 418 952 472 952c54 0 106.4-10.6 155.7-31.4 47.6-20.1 90.4-49 127.1-85.7 36.7-36.7 65.6-79.5 85.7-127.1C861.4 658.4 872 606 872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8c-62.6 62.1-147.1 96.6-235.3 96.2-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8z"
/>
<path
d="M952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6-65.8-65.7-152.8-106.5-245.2-115L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6c62.6 13.1 120.7 44.2 166.4 89.8 45.7 45.6 77 103.6 90 166.1l-256.4.7z"
/>
</svg>
</i>
<span>
Option 1
</span>
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="desktop"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M136 212h752v416H136z"
fill="none"
/>
<path
d="M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"
/>
</svg>
</i>
<span>
Option 2
</span>
</li>
<li
class="ant-menu-submenu ant-menu-submenu-inline"
role="menuitem"
>
<div
aria-expanded="false"
aria-haspopup="true"
class="ant-menu-submenu-title"
style="padding-left:24px"
>
<span>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M633.6 240.4C601.1 207.9 557.9 190 512 190s-89.1 17.9-121.6 50.4S340 316.1 340 362c0 45.9 17.9 89.1 50.4 121.6S466.1 534 512 534s89.1-17.9 121.6-50.4S684 407.9 684 362c0-45.9-17.9-89.1-50.4-121.6z"
fill="none"
/>
<path
d="M858.5 763.6c-18.9-44.8-46.1-85-80.6-119.5-34.5-34.5-74.7-61.6-119.5-80.6-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6-34.5 34.5-61.6 74.7-80.6 119.5C146.9 807.5 137 854 136 901.8c-.1 4.5 3.5 8.2 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60c4.5 0 8.1-3.7 8-8.2-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
/>
</svg>
</i>
<span>
User
</span>
</span>
<i
class="ant-menu-submenu-arrow"
/>
</div>
<div />
</li>
<li
class="ant-menu-submenu ant-menu-submenu-inline"
role="menuitem"
>
<div
aria-expanded="false"
aria-haspopup="true"
class="ant-menu-submenu-title"
style="padding-left:24px"
>
<span>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="team"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M701.6 392.6c-24.2-23.7-57.1-36.9-91-36.6-34.3.3-66.4 14.1-90.4 38.7-22.9 23.5-36 55.2-36.3 88-.3 34.7 13 67.3 37.5 91.8 24.2 24.2 56.3 37.5 90.5 37.5s66.4-13.3 90.5-37.5c24.2-24.2 37.5-56.3 37.5-90.5.1-34.6-13.5-67.1-38.3-91.4z"
fill="none"
/>
<path
d="M824.2 699.9c-25.4-25.4-54.7-45.7-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5-31.7 14.7-60.9 34.9-86.4 60.4C345 754.6 314 826.8 312 903.8c-.1 4.5 3.5 8.2 8 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C493.8 707.7 551.1 684 612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56c4.5 0 8.1-3.7 8-8.2-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5-24.5-24.5-37.9-57.1-37.5-91.8.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5-24.2 24.2-56.4 37.5-90.6 37.5z"
/>
<path
d="M361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1-25.8-25.2-39.7-59.3-38.7-95.4.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204-.1 4.5 3.5 8.2 8 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"
/>
</svg>
</i>
<span>
Team
</span>
</span>
<i
class="ant-menu-submenu-arrow"
/>
</div>
<div />
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:24px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="file"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
class="st0"
d="M534 352V136H232v752h560V394H576c-23.2 0-42-18.8-42-42z"
/>
<path
class="st0"
d="M602 326h188.2L602 137.8z"
/>
<path
d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216c0 23.2 18.8 42 42 42h216v494z"
/>
</svg>
</i>
<span>
File
</span>
</li>
</ul>
</div>
<div
class="ant-layout-sider-trigger"
style="width:200px"
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="left"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8c-16.4 12.8-16.4 37.5 0 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
/>
</svg>
</i>
</div>
</div>
<div
class="ant-layout"
>
<div
class="ant-layout-header"
style="background:#fff;padding:0"
/>
<div
class="ant-layout-content"
style="margin:0 16px"
>
<div
class="ant-breadcrumb"
style="margin:16px 0"
>
<span>
<span
class="ant-breadcrumb-link"
>
User
</span>
<span
class="ant-breadcrumb-separator"
>
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link"
>
Bill
</span>
<span
class="ant-breadcrumb-separator"
>
/
</span>
</span>
</div>
<div
style="padding:24px;background:#fff;min-height:360px"
>
Bill is a cat.
</div>
</div>
<div
class="ant-layout-footer"
style="text-align:center"
>
Ant Design ©2018 Created by Ant UED
</div>
</div>
</div>
`;
exports[`renders ./components/layout/demo/top.md correctly 1`] = `
<div
class="layout ant-layout"
>
<div
class="ant-layout-header"
>
<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"
>
<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"
>
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link"
>
App
</span>
<span
class="ant-breadcrumb-separator"
>
/
</span>
</span>
</div>
<div
style="background:#fff;padding:24px;min-height:280px"
>
Content
</div>
</div>
<div
class="ant-layout-footer"
style="text-align:center"
>
Ant Design ©2018 Created by Ant UED
</div>
</div>
`;
exports[`renders ./components/layout/demo/top-side.md correctly 1`] = `
<div
class="ant-layout"
>
<div
class="header ant-layout-header"
>
<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"
>
<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"
>
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link"
>
App
</span>
<span
class="ant-breadcrumb-separator"
>
/
</span>
</span>
</div>
<div
class="ant-layout"
style="padding:24px 0;background:#fff"
>
<div
class="ant-layout-sider ant-layout-sider-dark"
style="background:#fff;flex:0 0 200px;max-width:200px;min-width:200px;width:200px"
>
<div
class="ant-layout-sider-children"
>
<ul
class="ant-menu ant-menu-light ant-menu-root ant-menu-inline"
role="menu"
style="height:100%"
>
<li
class="ant-menu-submenu ant-menu-submenu-inline ant-menu-submenu-open ant-menu-submenu-selected"
role="menuitem"
>
<div
aria-expanded="true"
aria-haspopup="true"
aria-owns="sub1$Menu"
class="ant-menu-submenu-title"
style="padding-left:24px"
>
<span>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M633.6 240.4C601.1 207.9 557.9 190 512 190s-89.1 17.9-121.6 50.4S340 316.1 340 362c0 45.9 17.9 89.1 50.4 121.6S466.1 534 512 534s89.1-17.9 121.6-50.4S684 407.9 684 362c0-45.9-17.9-89.1-50.4-121.6z"
fill="none"
/>
<path
d="M858.5 763.6c-18.9-44.8-46.1-85-80.6-119.5-34.5-34.5-74.7-61.6-119.5-80.6-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6-34.5 34.5-61.6 74.7-80.6 119.5C146.9 807.5 137 854 136 901.8c-.1 4.5 3.5 8.2 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60c4.5 0 8.1-3.7 8-8.2-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
/>
</svg>
</i>
subnav 1
</span>
<i
class="ant-menu-submenu-arrow"
/>
</div>
<ul
class="ant-menu ant-menu-sub ant-menu-inline"
id="sub1$Menu"
role="menu"
>
<li
class="ant-menu-item ant-menu-item-selected"
role="menuitem"
style="padding-left:48px"
>
option1
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:48px"
>
option2
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:48px"
>
option3
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:48px"
>
option4
</li>
</ul>
</li>
<li
class="ant-menu-submenu ant-menu-submenu-inline"
role="menuitem"
>
<div
aria-expanded="false"
aria-haspopup="true"
class="ant-menu-submenu-title"
style="padding-left:24px"
>
<span>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="laptop"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
class="st0"
d="M200.4 208h624v395h-624zM436.9 779l-8.2 37h166.6l-8.2-37z"
/>
<path
class="st0"
d="M193.3 667L151 816h220.2l19.1-86.7c.8-3.7 4.1-6.3 7.8-6.3h227.6c3.8 0 7 2.6 7.8 6.3l19.1 86.7h221l-42.3-149h-638z"
/>
<path
d="M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"
/>
</svg>
</i>
subnav 2
</span>
<i
class="ant-menu-submenu-arrow"
/>
</div>
<div />
</li>
<li
class="ant-menu-submenu ant-menu-submenu-inline"
role="menuitem"
>
<div
aria-expanded="false"
aria-haspopup="true"
class="ant-menu-submenu-title"
style="padding-left:24px"
>
<span>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="notification"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
class="st0"
d="M305.9 417.9H184v188.2h121.9l12.9 5.2L840 820.7V203.3L318.8 412.7zM296 714.5c0 26.4 21.5 47.8 48 47.8 25.2 0 45.9-19.5 47.8-44.1L307 684.1c-7.1 8.5-11 19.2-11 30.4z"
/>
<path
d="M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"
/>
</svg>
</i>
subnav 3
</span>
<i
class="ant-menu-submenu-arrow"
/>
</div>
<div />
</li>
</ul>
</div>
</div>
<div
class="ant-layout-content"
style="padding:0 24px;min-height:280px"
>
Content
</div>
</div>
</div>
<div
class="ant-layout-footer"
style="text-align:center"
>
Ant Design ©2018 Created by Ant UED
</div>
</div>
`;
exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = `
<div
class="ant-layout"
>
<div
class="header ant-layout-header"
>
<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"
>
<div
class="ant-layout-sider ant-layout-sider-dark"
style="background:#fff;flex:0 0 200px;max-width:200px;min-width:200px;width:200px"
>
<div
class="ant-layout-sider-children"
>
<ul
class="ant-menu ant-menu-light ant-menu-root ant-menu-inline"
role="menu"
style="height:100%;border-right:0"
>
<li
class="ant-menu-submenu ant-menu-submenu-inline ant-menu-submenu-open ant-menu-submenu-selected"
role="menuitem"
>
<div
aria-expanded="true"
aria-haspopup="true"
aria-owns="sub1$Menu"
class="ant-menu-submenu-title"
style="padding-left:24px"
>
<span>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M633.6 240.4C601.1 207.9 557.9 190 512 190s-89.1 17.9-121.6 50.4S340 316.1 340 362c0 45.9 17.9 89.1 50.4 121.6S466.1 534 512 534s89.1-17.9 121.6-50.4S684 407.9 684 362c0-45.9-17.9-89.1-50.4-121.6z"
fill="none"
/>
<path
d="M858.5 763.6c-18.9-44.8-46.1-85-80.6-119.5-34.5-34.5-74.7-61.6-119.5-80.6-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6-34.5 34.5-61.6 74.7-80.6 119.5C146.9 807.5 137 854 136 901.8c-.1 4.5 3.5 8.2 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60c4.5 0 8.1-3.7 8-8.2-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
/>
</svg>
</i>
subnav 1
</span>
<i
class="ant-menu-submenu-arrow"
/>
</div>
<ul
class="ant-menu ant-menu-sub ant-menu-inline"
id="sub1$Menu"
role="menu"
>
<li
class="ant-menu-item ant-menu-item-selected"
role="menuitem"
style="padding-left:48px"
>
option1
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:48px"
>
option2
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:48px"
>
option3
</li>
<li
class="ant-menu-item"
role="menuitem"
style="padding-left:48px"
>
option4
</li>
</ul>
</li>
<li
class="ant-menu-submenu ant-menu-submenu-inline"
role="menuitem"
>
<div
aria-expanded="false"
aria-haspopup="true"
class="ant-menu-submenu-title"
style="padding-left:24px"
>
<span>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="laptop"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
class="st0"
d="M200.4 208h624v395h-624zM436.9 779l-8.2 37h166.6l-8.2-37z"
/>
<path
class="st0"
d="M193.3 667L151 816h220.2l19.1-86.7c.8-3.7 4.1-6.3 7.8-6.3h227.6c3.8 0 7 2.6 7.8 6.3l19.1 86.7h221l-42.3-149h-638z"
/>
<path
d="M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"
/>
</svg>
</i>
subnav 2
</span>
<i
class="ant-menu-submenu-arrow"
/>
</div>
<div />
</li>
<li
class="ant-menu-submenu ant-menu-submenu-inline"
role="menuitem"
>
<div
aria-expanded="false"
aria-haspopup="true"
class="ant-menu-submenu-title"
style="padding-left:24px"
>
<span>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="notification"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
class="st0"
d="M305.9 417.9H184v188.2h121.9l12.9 5.2L840 820.7V203.3L318.8 412.7zM296 714.5c0 26.4 21.5 47.8 48 47.8 25.2 0 45.9-19.5 47.8-44.1L307 684.1c-7.1 8.5-11 19.2-11 30.4z"
/>
<path
d="M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"
/>
</svg>
</i>
subnav 3
</span>
<i
class="ant-menu-submenu-arrow"
/>
</div>
<div />
</li>
</ul>
</div>
</div>
<div
class="ant-layout"
style="padding:0 24px 24px"
>
<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"
>
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link"
>
App
</span>
<span
class="ant-breadcrumb-separator"
>
/
</span>
</span>
</div>
<div
class="ant-layout-content"
style="background:#fff;padding:24px;margin:0;min-height:280px"
>
Content
</div>
</div>
</div>
</div>
`;