2021-12-23 11:51:10 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/tooltip/demo/arrow-point-at-center.tsx extend context correctly 1`] = `
|
2021-12-23 11:51:10 +08:00
|
|
|
Array [
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Align edge / 边缘对齐
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
Prompt Text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Arrow points to center / 箭头指向中心
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
Prompt Text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/tooltip/demo/auto-adjust-overflow.tsx extend context correctly 1`] = `
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
style="overflow:hidden;position:relative;padding:24px;border:1px solid #e9e9e9"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Adjust automatically / 自动调整
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
Prompt Text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Ignore / 不处理
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
Prompt Text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/tooltip/demo/basic.tsx extend context correctly 1`] = `
|
2021-12-23 11:51:10 +08:00
|
|
|
Array [
|
|
|
|
<span>
|
|
|
|
Tooltip will show on mouse enter.
|
|
|
|
</span>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/tooltip/demo/colorful.tsx extend context correctly 1`] = `
|
2021-12-23 11:51:10 +08:00
|
|
|
Array [
|
|
|
|
<div
|
|
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left"
|
|
|
|
role="separator"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-divider-inner-text"
|
|
|
|
>
|
|
|
|
Presets
|
|
|
|
</span>
|
|
|
|
</div>,
|
|
|
|
<div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
pink
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-pink"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
red
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-red"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
yellow
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-yellow"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
orange
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-orange"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
cyan
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-cyan"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
green
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-green"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
blue
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-blue"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
purple
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-purple"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
geekblue
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-geekblue"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
magenta
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-magenta"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
volcano
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-volcano"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
gold
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-gold"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
lime
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip ant-tooltip-lime"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
<div
|
|
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left"
|
|
|
|
role="separator"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-divider-inner-text"
|
|
|
|
>
|
|
|
|
Custom
|
|
|
|
</span>
|
|
|
|
</div>,
|
|
|
|
<div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
#f50
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
2022-10-11 21:33:29 +08:00
|
|
|
style="opacity:0;--antd-arrow-background-color:#f50"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="background:#f50"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
#2db7f5
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
2022-10-11 21:33:29 +08:00
|
|
|
style="opacity:0;--antd-arrow-background-color:#2db7f5"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="background:#2db7f5"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
#87d068
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
2022-10-11 21:33:29 +08:00
|
|
|
style="opacity:0;--antd-arrow-background-color:#87d068"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="background:#87d068"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
#108ee9
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
2022-10-11 21:33:29 +08:00
|
|
|
style="opacity:0;--antd-arrow-background-color:#108ee9"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="background:#108ee9"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/tooltip/demo/destroy-tooltip-on-hide.tsx extend context correctly 1`] = `
|
2021-12-23 11:51:10 +08:00
|
|
|
Array [
|
|
|
|
<span>
|
|
|
|
Tooltip will destroy when hidden.
|
|
|
|
</span>,
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
prompt text
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/tooltip/demo/placement.tsx extend context correctly 1`] = `
|
2021-12-23 11:51:10 +08:00
|
|
|
<div
|
|
|
|
class="demo"
|
|
|
|
>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-left:70px;white-space:nowrap"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
TL
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Top
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
TR
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:70px;float:left"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
LT
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Left
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
LB
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:70px;margin-left:304px"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
RT
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Right
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
RB
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-left:70px;clear:both;white-space:nowrap"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
BL
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Bottom
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2021-12-23 11:51:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
BR
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
class="ant-tooltip"
|
|
|
|
style="opacity:0"
|
2021-12-23 11:51:10 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tooltip-arrow-content"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
prompt text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
2022-10-11 21:33:29 +08:00
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/tooltip/demo/render-panel.tsx extend context correctly 1`] = `
|
2022-10-11 21:33:29 +08:00
|
|
|
Array [
|
|
|
|
<div
|
|
|
|
class="ant-tooltip ant-tooltip-pure ant-tooltip-placement-top ant-tooltip-pink"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
Hello, Pink Pure Panel!
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
<div
|
|
|
|
class="ant-tooltip ant-tooltip-pure ant-tooltip-placement-top"
|
|
|
|
style="--antd-arrow-background-color:#f50"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
style="background:#f50"
|
|
|
|
>
|
|
|
|
Hello, Customize Color Pure Panel!
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
<div
|
|
|
|
class="ant-tooltip ant-tooltip-pure ant-tooltip-placement-bottomLeft"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-content"
|
|
|
|
style="width:200px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-arrow"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-tooltip-inner"
|
|
|
|
role="tooltip"
|
|
|
|
>
|
|
|
|
Hello, Pure Panel!
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|