ant-design/components/spin/__tests__/__snapshots__/demo.test.js.snap
kossel 92aa34c1b5 Feature antd 3.0/spinning indicator (#7977)
* Added indicator props to Spin component

* Added indicator props to Spin component

* update snapshots

* fix defautl props

* revert some snapshot files
2017-11-04 12:05:25 +08:00

221 lines
3.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/spin/demo/basic.md correctly 1`] = `
<div
class="ant-spin ant-spin-spinning"
>
<span
class="ant-spin-dot"
>
<i />
<i />
<i />
<i />
</span>
</div>
`;
exports[`renders ./components/spin/demo/custom-indicator.md correctly 1`] = `
<div>
<div
class="ant-spin ant-spin-spinning"
>
<i
class="anticon anticon-spin anticon-loading-3-quarters"
style="font-size:24px"
/>
</div>
<div
class="ant-spin ant-spin-spinning"
>
<div
class="square-loader"
/>
</div>
</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"
style="margin-bottom:16px"
>
<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>
Loading state
<span
class="ant-switch"
tabindex="0"
>
<span
class="ant-switch-inner"
/>
</span>
</div>
`;
exports[`renders ./components/spin/demo/inside.md correctly 1`] = `
<div
class="example"
>
<div
class="ant-spin ant-spin-spinning"
>
<span
class="ant-spin-dot"
>
<i />
<i />
<i />
<i />
</span>
</div>
</div>
`;
exports[`renders ./components/spin/demo/nested.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/size.md correctly 1`] = `
<div>
<div
class="ant-spin ant-spin-sm ant-spin-spinning"
>
<span
class="ant-spin-dot"
>
<i />
<i />
<i />
<i />
</span>
</div>
<div
class="ant-spin ant-spin-spinning"
>
<span
class="ant-spin-dot"
>
<i />
<i />
<i />
<i />
</span>
</div>
<div
class="ant-spin ant-spin-lg ant-spin-spinning"
>
<span
class="ant-spin-dot"
>
<i />
<i />
<i />
<i />
</span>
</div>
</div>
`;
exports[`renders ./components/spin/demo/tip.md correctly 1`] = `
<div
class="ant-spin-nested-loading"
>
<div>
<div
class="ant-spin ant-spin-spinning ant-spin-show-text"
>
<span
class="ant-spin-dot"
>
<i />
<i />
<i />
<i />
</span>
<div
class="ant-spin-text"
>
Loading...
</div>
</div>
</div>
<div
class="ant-spin-container ant-spin-blur"
>
<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>
`;