ant-design/components/switch/__tests__/__snapshots__/index.test.js.snap
二货机器人 75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +08:00

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>
`;