2018-02-14 12:30:31 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2019-11-27 09:40:47 +08:00
|
|
|
exports[`Spin if indicator set null should not be render default indicator 1`] = `
|
2022-03-24 22:12:41 +08:00
|
|
|
<div
|
2022-03-25 12:07:48 +08:00
|
|
|
aria-busy="true"
|
|
|
|
aria-live="polite"
|
2022-03-24 22:12:41 +08:00
|
|
|
class="ant-spin ant-spin-spinning"
|
|
|
|
/>
|
2019-11-27 09:40:47 +08:00
|
|
|
`;
|
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
exports[`Spin rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
|
|
<div
|
2022-03-11 15:49:33 +08:00
|
|
|
aria-busy="true"
|
|
|
|
aria-live="polite"
|
2020-01-02 19:10:16 +08:00
|
|
|
class="ant-spin ant-spin-spinning ant-spin-rtl"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-spin-dot ant-spin-dot-spin"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="ant-spin-dot-item"
|
|
|
|
/>
|
|
|
|
<i
|
|
|
|
class="ant-spin-dot-item"
|
|
|
|
/>
|
|
|
|
<i
|
|
|
|
class="ant-spin-dot-item"
|
|
|
|
/>
|
|
|
|
<i
|
|
|
|
class="ant-spin-dot-item"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-02-14 12:30:31 +08:00
|
|
|
exports[`Spin should render custom indicator when it's set 1`] = `
|
|
|
|
<div
|
2022-03-11 15:49:33 +08:00
|
|
|
aria-busy="true"
|
|
|
|
aria-live="polite"
|
2018-02-14 12:30:31 +08:00
|
|
|
class="ant-spin ant-spin-spinning"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="custom-indicator ant-spin-dot"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|
2020-02-14 19:02:53 +08:00
|
|
|
|
|
|
|
exports[`Spin should support static method Spin.setDefaultIndicator 1`] = `
|
2022-03-24 22:12:41 +08:00
|
|
|
<div
|
2022-03-25 12:07:48 +08:00
|
|
|
aria-busy="true"
|
|
|
|
aria-live="polite"
|
2022-03-24 22:12:41 +08:00
|
|
|
class="ant-spin ant-spin-spinning"
|
2020-02-14 19:02:53 +08:00
|
|
|
>
|
2022-03-24 22:12:41 +08:00
|
|
|
<em
|
|
|
|
class="custom-spinner ant-spin-dot"
|
|
|
|
/>
|
|
|
|
</div>
|
2020-02-14 19:02:53 +08:00
|
|
|
`;
|