@visactor/react-vchart
Version:
The react version of VChart 4.x
6 lines (5 loc) • 365 B
TypeScript
import React from 'react';
import type { BaseChartProps } from '../../charts/BaseChart';
import type { TooltipProps } from './interface';
import type { ITooltipSpec } from '@visactor/vchart';
export declare const initCustomTooltip: (setTooltipNode: React.Dispatch<React.SetStateAction<React.ReactNode>>, props: BaseChartProps, spec?: TooltipProps) => ITooltipSpec;