@blockscout/ui-toolkit
Version:
A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects
14 lines (13 loc) • 602 B
TypeScript
import { default as React } from 'react';
import { AxesConfigFn, ChartMargin, TimeChartData, Resolution } from './types';
export interface ChartProps {
charts: TimeChartData;
zoomRange?: [Date, Date];
onZoom: (range: [Date, Date]) => void;
margin?: ChartMargin;
noAnimation?: boolean;
resolution?: Resolution;
axesConfig?: AxesConfigFn;
isEnlarged?: boolean;
}
export declare const Chart: React.MemoExoticComponent<({ isEnlarged, charts, onZoom, margin: marginProps, noAnimation, resolution, zoomRange, axesConfig: axesConfigProps, }: ChartProps) => React.JSX.Element>;