UNPKG

@blockscout/ui-toolkit

Version:

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

15 lines (14 loc) 669 B
import { default as React } from 'react'; import { ChartMargin, ChartResolution } from '../types'; import { LineChartAxesConfigFn, LineChartData } from './types'; export interface LineChartProps { charts: LineChartData; zoomRange?: [Date, Date]; onZoom: (range: [Date, Date]) => void; margin?: ChartMargin; noAnimation?: boolean; resolution?: ChartResolution; axesConfig?: LineChartAxesConfigFn; isEnlarged?: boolean; } export declare const LineChart: React.MemoExoticComponent<({ isEnlarged, charts, onZoom, margin: marginProps, noAnimation, resolution, zoomRange, axesConfig: axesConfigProps, }: LineChartProps) => React.JSX.Element>;