You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.3 KiB
78 lines
1.3 KiB
8 years ago
|
exports[`test renders ./components/switch/demo/basic.md correctly 1`] = `
|
||
|
<span
|
||
|
class="ant-switch"
|
||
|
tabindex="0">
|
||
|
<span
|
||
|
class="ant-switch-inner" />
|
||
|
</span>
|
||
|
`;
|
||
|
|
||
|
exports[`test renders ./components/switch/demo/disabled.md correctly 1`] = `
|
||
|
<div>
|
||
|
<span
|
||
|
class="ant-switch ant-switch-disabled"
|
||
|
tabindex="0">
|
||
|
<span
|
||
|
class="ant-switch-inner" />
|
||
|
</span>
|
||
|
<br />
|
||
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
|
type="button">
|
||
|
<span>
|
||
|
Toggle disabled
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
`;
|
||
|
|
||
|
exports[`test 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[`test 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
|
||
8 years ago
|
class="anticon anticon-cross" />
|
||
8 years ago
|
</span>
|
||
|
</span>
|
||
|
</div>
|
||
|
`;
|