@dodobrat/react-ui-kit
Version:
Simple React Component Library
19 lines (18 loc) • 674 B
TypeScript
import React from "react";
import { CnCh, AllCustomizationProps, AllPositions, PopUpAnimation } from "../../helpers/global.types";
declare type ExtraTooltipProps = CnCh & AllCustomizationProps;
export interface TooltipProps extends ExtraTooltipProps {
position?: AllPositions;
content?: React.ReactNode;
showOnFocus?: boolean;
showOnClick?: boolean;
showOnHover?: boolean;
seamless?: boolean;
isToggled?: boolean;
onToggle?: (isToggled: boolean) => void;
spacing?: number;
disabled?: boolean;
triggerElement?: HTMLElement | React.MutableRefObject<HTMLElement> | any;
animation?: PopUpAnimation;
}
export {};