UNPKG

@blockscout/ui-toolkit

Version:

A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects

17 lines (16 loc) 689 B
import { default as React } from 'react'; import { ChartResolution } from '../../types'; import { LineChartData } from '../types'; import * as d3 from 'd3'; export interface LineChartTooltipProps { width?: number; tooltipWidth?: number; height?: number; data: LineChartData; xScale: d3.ScaleTime<number, number>; yScale: d3.ScaleLinear<number, number>; anchorEl: SVGRectElement | null; noAnimation?: boolean; resolution?: ChartResolution; } export declare const LineChartTooltip: React.MemoExoticComponent<({ xScale, yScale, width, tooltipWidth, height, data, anchorEl, noAnimation, resolution, ...props }: LineChartTooltipProps) => React.JSX.Element>;