2017-03-17 18:56:30 +08:00
|
|
|
|
// 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
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin ant-spin-spinning"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-dot"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/spin/demo/delayAndDebounce.md correctly 1`] = `
|
2017-01-02 00:12:41 +08:00
|
|
|
|
<div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-nested-loading"
|
|
|
|
|
>
|
2017-01-02 00:12:41 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-container"
|
|
|
|
|
>
|
2017-01-02 00:12:41 +08:00
|
|
|
|
<div
|
|
|
|
|
class="ant-alert ant-alert-info ant-alert-with-description ant-alert-no-icon"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
data-show="true"
|
|
|
|
|
>
|
2017-01-02 00:12:41 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-alert-message"
|
|
|
|
|
>
|
2017-01-02 00:12:41 +08:00
|
|
|
|
Alert message title
|
|
|
|
|
</span>
|
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-alert-description"
|
|
|
|
|
>
|
2017-01-02 00:12:41 +08:00
|
|
|
|
Further details about the context of this alert.
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
Loading state:
|
|
|
|
|
<span
|
|
|
|
|
class="ant-switch"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-01-02 00:12:41 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-switch-inner"
|
|
|
|
|
/>
|
2017-01-02 00:12:41 +08:00
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/spin/demo/inside.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="example"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin ant-spin-spinning"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-dot"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/spin/demo/nested.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-nested-loading"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
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"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
data-show="true"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-alert-message"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
Alert message title
|
|
|
|
|
</span>
|
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
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-03-17 18:56:30 +08:00
|
|
|
|
>
|
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>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/spin/demo/size.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin ant-spin-sm ant-spin-spinning"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-dot"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin ant-spin-spinning"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-dot"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin ant-spin-lg ant-spin-spinning"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-dot"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/spin/demo/tip.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-nested-loading"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin ant-spin-spinning ant-spin-show-text"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-dot"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
<i />
|
|
|
|
|
</span>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-spin-text"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
Loading...
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
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"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
data-show="true"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-alert-message"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
Alert message title
|
|
|
|
|
</span>
|
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-alert-description"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
Further details about the context of this alert.
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|