Browse Source

Export tooltop helper interfaces (#19846)

pull/19868/head
Alexander Kachkaev 5 years ago
committed by Amumu
parent
commit
5ff3a77dce
  1. 4
      components/tooltip/index.tsx

4
components/tooltip/index.tsx

@ -65,12 +65,12 @@ export interface AbstractTooltipProps {
export type RenderFunction = () => React.ReactNode;
interface TooltipPropsWithOverlay extends AbstractTooltipProps {
export interface TooltipPropsWithOverlay extends AbstractTooltipProps {
title?: React.ReactNode | RenderFunction;
overlay: React.ReactNode | RenderFunction;
}
interface TooltipPropsWithTitle extends AbstractTooltipProps {
export interface TooltipPropsWithTitle extends AbstractTooltipProps {
title: React.ReactNode | RenderFunction;
overlay?: React.ReactNode | RenderFunction;
}

Loading…
Cancel
Save