UNPKG

general-assistant

Version:

General Assistant components

17 lines (16 loc) 464 B
import React from 'react'; import { VariantType, type ITooltip } from 'react-tooltip'; import './index.css'; interface TooltipProps { title: string | React.ReactNode; children: React.ReactNode; variant?: VariantType; openOnClick?: boolean; noArrow?: boolean; offset?: number; } type FTooltipRefProps = { [P in keyof ITooltip]?: ITooltip[P]; }; declare const Tooltips: React.FC<TooltipProps & FTooltipRefProps>; export default Tooltips;