|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Drawer render correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<button
|
|
|
|
class="ant-btn"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
open
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-drawer ant-drawer-right ant-drawer-open"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-drawer-mask"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-drawer-content-wrapper"
|
|
|
|
style="width: 256px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-drawer-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-drawer-wrapper-body"
|
|
|
|
style="overflow: auto; height: 100%;"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
aria-label="Close"
|
|
|
|
class="ant-drawer-close"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-drawer-close-x"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-close"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M567.7 514.9l254.8-254.6c15.4-15.4 15.4-40.3 0-55.6-15.4-15.4-40.3-15.4-55.6 0L512 459.2 257.1 204.6c-15.4-15.4-40.3-15.4-55.6 0-15.4 15.4-15.4 40.3 0 55.6l254.8 254.6-254.8 254.7c-15.4 15.4-15.4 40.3 0 55.6 7.7 7.7 17.8 11.5 27.8 11.5 10.1 0 20.1-3.8 27.8-11.5L512 570.5l254.9 254.7c7.7 7.7 17.7 11.5 27.8 11.5 10.1 0 20.1-3.8 27.8-11.5 15.4-15.4 15.4-40.3 0-55.6L567.7 514.9z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</i>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div
|
|
|
|
class="ant-drawer-body"
|
|
|
|
>
|
|
|
|
Here is content of Drawer
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|