react-tooltip-z
Version:
React simple tooltip - ts/js. Fetch, click, hover...
14 lines (13 loc) • 408 B
TypeScript
import React from 'react';
export interface IFContextProps {
children: any;
showTooltip: (value?: any) => any;
hideTooltip: () => any;
isShow: boolean;
tooltipId: string;
tooltipElement: any;
shareContext?: boolean;
}
declare const TooltipContext: React.FC<IFContextProps>;
export declare const useTooltipContext: () => IFContextProps;
export default TooltipContext;