fictoan-react
Version:
A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.
12 lines (11 loc) • 633 B
TypeScript
import React from "react";
import { CommonAndHTMLProps } from '../Element/constants';
export interface TooltipCustomProps {
isTooltipFor: string;
showOn?: "click" | "hover";
position?: "top" | "bottom" | "left" | "right";
}
export type TooltipElementType = HTMLDivElement;
export type TooltipProps = Omit<CommonAndHTMLProps<TooltipElementType>, keyof TooltipCustomProps> & TooltipCustomProps;
export declare const Tooltip: React.ForwardRefExoticComponent<Omit<CommonAndHTMLProps<HTMLDivElement>, keyof TooltipCustomProps> & TooltipCustomProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Tooltip.d.ts.map