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

229 lines
4.7 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/spin/demo/basic.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-spin ant-spin-spinning"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-spin-dot ant-spin-dot-spin"
>
2016-11-22 14:28:05 +08:00
<i />
<i />
<i />
<i />
</span>
</div>
`;
exports[`renders ./components/spin/demo/custom-indicator.md correctly 1`] = `
<div
class="ant-spin ant-spin-spinning"
2018-07-19 20:37:47 +08:00
>
<i
2018-08-14 15:32:29 +08:00
class="anticon anticon-loading ant-spin-dot"
2018-08-13 14:46:55 +08:00
style="font-size:24px"
2018-08-24 18:36:08 +08:00
>
<svg
aria-hidden="true"
class="anticon-spin"
data-icon="loading"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-59.4-11.6-117-34.6-171.3-22.2-52.4-53.9-99.4-94.3-139.9-40.4-40.4-87.5-72.2-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.2C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z"
/>
</svg>
</i>
2018-07-19 20:37:47 +08:00
</div>
`;
exports[`renders ./components/spin/demo/delayAndDebounce.md correctly 1`] = `
<div>
<div
class="ant-spin-nested-loading"
>
<div
class="ant-spin-container"
>
<div
class="ant-alert ant-alert-info ant-alert-with-description ant-alert-no-icon"
data-show="true"
>
<span
class="ant-alert-message"
>
Alert message title
</span>
<span
class="ant-alert-description"
>
Further details about the context of this alert.
</span>
</div>
</div>
</div>
<div
style="margin-top:16px"
>
Loading state
<span
class="ant-switch"
tabindex="0"
>
<span
class="ant-switch-inner"
/>
</span>
</div>
</div>
`;
exports[`renders ./components/spin/demo/inside.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="example"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-spin ant-spin-spinning"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-spin-dot ant-spin-dot-spin"
>
2016-11-22 14:28:05 +08:00
<i />
<i />
<i />
<i />
</span>
</div>
</div>
`;
exports[`renders ./components/spin/demo/nested.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
class="ant-spin-nested-loading"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-spin-container"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-alert ant-alert-info ant-alert-with-description ant-alert-no-icon"
data-show="true"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-alert-message"
>
2016-11-22 14:28:05 +08:00
Alert message title
</span>
<span
class="ant-alert-description"
>
2016-11-22 14:28:05 +08:00
Further details about the context of this alert.
</span>
</div>
</div>
</div>
2017-06-14 13:31:21 +08:00
<div
2017-09-20 16:26:18 +08:00
style="margin-top:16px"
>
2017-06-14 13:31:21 +08:00
Loading state
2016-11-22 14:28:05 +08:00
<span
2017-06-14 13:31:21 +08:00
class="ant-switch"
tabindex="0"
>
<span
class="ant-switch-inner"
/>
</span>
</div>
2016-11-22 14:28:05 +08:00
</div>
`;
exports[`renders ./components/spin/demo/size.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
class="ant-spin ant-spin-sm ant-spin-spinning"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-spin-dot ant-spin-dot-spin"
>
2016-11-22 14:28:05 +08:00
<i />
<i />
<i />
<i />
</span>
</div>
<div
class="ant-spin ant-spin-spinning"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-spin-dot ant-spin-dot-spin"
>
2016-11-22 14:28:05 +08:00
<i />
<i />
<i />
<i />
</span>
</div>
<div
class="ant-spin ant-spin-lg ant-spin-spinning"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-spin-dot ant-spin-dot-spin"
>
2016-11-22 14:28:05 +08:00
<i />
<i />
<i />
<i />
</span>
</div>
</div>
`;
exports[`renders ./components/spin/demo/tip.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-spin-nested-loading"
>
2016-11-22 14:28:05 +08:00
<div>
<div
class="ant-spin ant-spin-spinning ant-spin-show-text"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-spin-dot ant-spin-dot-spin"
>
2016-11-22 14:28:05 +08:00
<i />
<i />
<i />
<i />
</span>
<div
class="ant-spin-text"
>
2016-11-22 14:28:05 +08:00
Loading...
</div>
</div>
</div>
<div
class="ant-spin-container ant-spin-blur"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-alert ant-alert-info ant-alert-with-description ant-alert-no-icon"
data-show="true"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-alert-message"
>
2016-11-22 14:28:05 +08:00
Alert message title
</span>
<span
class="ant-alert-description"
>
2016-11-22 14:28:05 +08:00
Further details about the context of this alert.
</span>
</div>
</div>
</div>
`;