ant-design/tests/switch/__snapshots__/demo.test.js.snap
Andrey G a307a7acf7 refactor: remove unnecessary computed props for classNames (#4055)
* remove unnecessary computed props for classNames

* rollback autocomplete optimization for possible css style order issue

* update snapshots

* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00

78 lines
1.3 KiB
Plaintext

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
class="anticon anticon-cross" />
</span>
</span>
</div>
`;