mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
75b090aff3
* init fix * fix rtl * clean up * update snapshot * fix style lint * add motion of inner * update un-checked focus style
39 lines
686 B
Plaintext
39 lines
686 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Switch rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
<button
|
|
aria-checked="false"
|
|
class="ant-switch ant-switch-rtl"
|
|
role="switch"
|
|
type="button"
|
|
>
|
|
<div
|
|
class="ant-switch-handle"
|
|
/>
|
|
<span
|
|
class="ant-switch-inner"
|
|
/>
|
|
</button>
|
|
`;
|
|
|
|
exports[`Switch should has click wave effect 1`] = `
|
|
<button
|
|
ant-click-animating="true"
|
|
aria-checked="false"
|
|
class="ant-switch"
|
|
role="switch"
|
|
type="button"
|
|
>
|
|
<div
|
|
class="ant-switch-handle"
|
|
/>
|
|
<span
|
|
class="ant-switch-inner"
|
|
/>
|
|
<div
|
|
class="ant-click-animating-node"
|
|
style="border-color: buttonface;"
|
|
/>
|
|
</button>
|
|
`;
|