2018-05-15 01:52:44 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/switch/demo/basic.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div><span tabindex="0" class="ant-switch ant-switch-checked"><span class="ant-switch-inner"></span></span>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/switch/demo/disabled.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div><span tabindex="-1" class="ant-switch ant-switch-checked ant-switch-disabled" style="margin-bottom: 5px;"><span class="ant-switch-inner"></span></span>
|
2018-05-15 01:52:44 +00:00
|
|
|
<br>
|
|
|
|
<button type="button" class="ant-btn ant-btn-primary"><span>Toggle disabled</span></button>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/switch/demo/loading.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div><span tabindex="0" class="ant-switch ant-switch-checked ant-switch-loading"><span class="ant-switch-inner"></span></span>
|
|
|
|
<br> <span tabindex="0" class="ant-switch ant-switch-small ant-switch-loading"><span class="ant-switch-inner"></span></span>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/switch/demo/size.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div><span tabindex="0" class="ant-switch ant-switch-checked"><span class="ant-switch-inner"></span></span>
|
|
|
|
<br> <span tabindex="0" class="ant-switch ant-switch-checked ant-switch-small"><span class="ant-switch-inner"></span></span>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/switch/demo/text.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<div><span tabindex="0" class="ant-switch ant-switch-checked"><span class="ant-switch-inner">开</span></span>
|
|
|
|
<br> <span tabindex="0" class="ant-switch"><span class="ant-switch-inner">0</span></span>
|
|
|
|
<br> <span tabindex="0" class="ant-switch ant-switch-checked"><span class="ant-switch-inner"><i class="anticon anticon-check"></i></span></span>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
`;
|