mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
Export tooltop helper interfaces (#19846)
This commit is contained in:
parent
c57d7f3a6c
commit
5ff3a77dce
@ -65,12 +65,12 @@ export interface AbstractTooltipProps {
|
|||||||
|
|
||||||
export type RenderFunction = () => React.ReactNode;
|
export type RenderFunction = () => React.ReactNode;
|
||||||
|
|
||||||
interface TooltipPropsWithOverlay extends AbstractTooltipProps {
|
export interface TooltipPropsWithOverlay extends AbstractTooltipProps {
|
||||||
title?: React.ReactNode | RenderFunction;
|
title?: React.ReactNode | RenderFunction;
|
||||||
overlay: React.ReactNode | RenderFunction;
|
overlay: React.ReactNode | RenderFunction;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface TooltipPropsWithTitle extends AbstractTooltipProps {
|
export interface TooltipPropsWithTitle extends AbstractTooltipProps {
|
||||||
title: React.ReactNode | RenderFunction;
|
title: React.ReactNode | RenderFunction;
|
||||||
overlay?: React.ReactNode | RenderFunction;
|
overlay?: React.ReactNode | RenderFunction;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user