2017-11-11 00:07:03 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
exports[`Tooltip rtl render component should be rendered correctly in RTL direction 1`] = `<span />`;
|
|
|
|
|
2019-06-30 00:29:48 +08:00
|
|
|
exports[`Tooltip should hide when mouse leave antd disabled component Button 1`] = `
|
2017-11-11 00:07:03 +08:00
|
|
|
<span
|
2020-03-21 14:30:40 +08:00
|
|
|
class="ant-tooltip-disabled-compatible-wrapper"
|
2017-11-11 00:07:03 +08:00
|
|
|
style="display: inline-block; cursor: not-allowed;"
|
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2017-11-11 00:07:03 +08:00
|
|
|
disabled=""
|
|
|
|
style="pointer-events: none;"
|
|
|
|
type="button"
|
2019-06-30 00:29:48 +08:00
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Tooltip should hide when mouse leave antd disabled component Switch 1`] = `
|
|
|
|
<span
|
2020-03-21 14:30:40 +08:00
|
|
|
class="ant-tooltip-disabled-compatible-wrapper"
|
2019-06-30 00:29:48 +08:00
|
|
|
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"
|
2017-11-11 00:07:03 +08:00
|
|
|
>
|
2020-05-18 17:31:46 +08:00
|
|
|
<div
|
|
|
|
class="ant-switch-handle"
|
|
|
|
/>
|
2019-06-30 00:29:48 +08:00
|
|
|
<span
|
|
|
|
class="ant-switch-inner"
|
2022-10-14 12:11:43 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner-checked"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner-unchecked"
|
|
|
|
/>
|
|
|
|
</span>
|
2017-11-11 00:07:03 +08:00
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
`;
|
2023-01-19 11:21:05 +08:00
|
|
|
|
|
|
|
exports[`Tooltip support arrow props by default 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="target ant-tooltip-open"
|
|
|
|
>
|
|
|
|
target
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast"
|
|
|
|
style="opacity: 0;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Tooltip support arrow props pass false to hide arrow 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="target ant-tooltip-open"
|
|
|
|
>
|
|
|
|
target
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip ant-zoom-big-fast-appear ant-zoom-big-fast-appear-prepare ant-zoom-big-fast"
|
|
|
|
style="opacity: 0;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|