ant-design/components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap

78 lines
2.1 KiB
Plaintext
Raw Normal View History

2018-06-21 12:32:13 +08:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Drawer render correctly 1`] = `
<div>
<button
class="ant-btn ant-btn-default"
2018-06-21 12:32:13 +08:00
type="button"
>
<span>
open
</span>
</button>
2018-08-13 14:46:55 +08:00
<div
class=""
>
2018-06-26 11:19:49 +08:00
<div
class="ant-drawer ant-drawer-right ant-drawer-open"
2019-05-21 11:13:27 +08:00
tabindex="-1"
2018-06-26 11:19:49 +08:00
>
<div
class="ant-drawer-mask"
/>
2018-06-21 12:32:13 +08:00
<div
2018-06-26 11:19:49 +08:00
class="ant-drawer-content-wrapper"
style="width: 378px;"
2018-06-21 12:32:13 +08:00
>
<div
2018-06-26 11:19:49 +08:00
class="ant-drawer-content"
2018-06-21 12:32:13 +08:00
>
<div
2018-07-20 18:51:10 +08:00
class="ant-drawer-wrapper-body"
2018-06-21 12:32:13 +08:00
>
<div
class="ant-drawer-header ant-drawer-header-close-only"
2018-06-26 11:19:49 +08:00
>
<div
class="ant-drawer-header-title"
2018-07-25 12:04:26 +08:00
>
<button
aria-label="Close"
class="ant-drawer-close"
type="button"
2018-09-02 19:53:29 +08:00
>
<span
aria-label="close"
class="anticon anticon-close"
role="img"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
/>
</svg>
</span>
</button>
</div>
</div>
2018-06-21 12:32:13 +08:00
<div
2018-06-26 11:19:49 +08:00
class="ant-drawer-body"
2018-06-21 12:32:13 +08:00
>
2018-06-26 11:19:49 +08:00
Here is content of Drawer
2018-06-21 12:32:13 +08:00
</div>
</div>
</div>
</div>
</div>
</div>
</div>
`;