UNPKG

@lobehub/charts

Version:

React modern charts components built on recharts

16 lines (15 loc) 576 B
import { ReactNode } from 'react'; import { ValueFormatter } from "../../types/charts"; export interface ChartTooltipProps { active: boolean | undefined; categoryColors: Map<string, string>; customCategories?: { [key: string]: string; }; footer?: ReactNode; label: string; payload: any; valueFormatter: ValueFormatter; } declare const ChartTooltip: ({ active, payload, label, categoryColors, valueFormatter, customCategories, footer, }: ChartTooltipProps) => import("react/jsx-runtime").JSX.Element | null; export default ChartTooltip;