UNPKG

react-circle-chart

Version:

Simple React donut chart component with flexible options.

13 lines (12 loc) 354 B
import { ReactNode } from "react"; export declare function TooltipContextProvider({ children }: { children: ReactNode; }): JSX.Element; export declare function useTooltip(): { showTooltip: (x: number, y: number, text: string) => void; hideTooltip: () => void; isTooltipVisible: boolean; x: number; y: number; text: string; };