mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 21:18:01 +08:00
96 lines
1.4 KiB
Plaintext
96 lines
1.4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/switch/demo/basic.md correctly 1`] = `
|
|
<span
|
|
class="ant-switch"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-switch-inner"
|
|
/>
|
|
</span>
|
|
`;
|
|
|
|
exports[`renders ./components/switch/demo/disabled.md correctly 1`] = `
|
|
<div>
|
|
<span
|
|
class="ant-switch ant-switch-disabled"
|
|
tabindex="-1"
|
|
>
|
|
<span
|
|
class="ant-switch-inner"
|
|
/>
|
|
</span>
|
|
<br />
|
|
<button
|
|
class="ant-btn ant-btn-primary"
|
|
type="button"
|
|
>
|
|
<span>
|
|
Toggle disabled
|
|
</span>
|
|
</button>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/switch/demo/size.md correctly 1`] = `
|
|
<div>
|
|
<span
|
|
class="ant-switch"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-switch-inner"
|
|
/>
|
|
</span>
|
|
<br />
|
|
<span
|
|
class="ant-switch-small ant-switch"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-switch-inner"
|
|
/>
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/switch/demo/text.md correctly 1`] = `
|
|
<div>
|
|
<span
|
|
class="ant-switch"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-switch-inner"
|
|
>
|
|
关
|
|
</span>
|
|
</span>
|
|
<br />
|
|
<span
|
|
class="ant-switch"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-switch-inner"
|
|
>
|
|
0
|
|
</span>
|
|
</span>
|
|
<br />
|
|
<span
|
|
class="ant-switch"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-switch-inner"
|
|
>
|
|
<i
|
|
class="anticon anticon-cross"
|
|
/>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
`;
|