mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
c61f283487
* feat: switch motion * chore: code clean * feat: active text offset * chore: update snapshot
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Tooltip rtl render component should be rendered correctly in RTL direction 1`] = `<span />`;
|
|
|
|
exports[`Tooltip should hide when mouse leave antd disabled component Button 1`] = `
|
|
<span
|
|
class="ant-tooltip-disabled-compatible-wrapper"
|
|
style="display: inline-block; cursor: not-allowed;"
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-default"
|
|
disabled=""
|
|
style="pointer-events: none;"
|
|
type="button"
|
|
/>
|
|
</span>
|
|
`;
|
|
|
|
exports[`Tooltip should hide when mouse leave antd disabled component Switch 1`] = `
|
|
<span
|
|
class="ant-tooltip-disabled-compatible-wrapper"
|
|
style="display: inline-block; cursor: not-allowed;"
|
|
>
|
|
<button
|
|
aria-checked="false"
|
|
class="ant-switch ant-switch-disabled"
|
|
disabled=""
|
|
role="switch"
|
|
style="pointer-events: none;"
|
|
type="button"
|
|
>
|
|
<div
|
|
class="ant-switch-handle"
|
|
/>
|
|
<span
|
|
class="ant-switch-inner"
|
|
>
|
|
<span
|
|
class="ant-switch-inner-checked"
|
|
/>
|
|
<span
|
|
class="ant-switch-inner-unchecked"
|
|
/>
|
|
</span>
|
|
</button>
|
|
</span>
|
|
`;
|