@blockscout/ui-toolkit
Version:
A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects
14 lines (13 loc) • 639 B
TypeScript
import { default as React } from 'react';
import { ChartResolution } from '../types';
import { LineChartData } from './types';
import { ChartDialogProps } from '../components/ChartDialog';
interface Props extends Omit<ChartDialogProps, 'children' | 'headerRightSlot'> {
charts: LineChartData;
resolution?: ChartResolution;
zoomRange?: [Date, Date];
handleZoom: (range: [Date, Date]) => void;
handleZoomReset: () => void;
}
declare const LineChartModal: ({ charts, open, onOpenChange, title, description, resolution, zoomRange, handleZoom, handleZoomReset, }: Props) => React.JSX.Element;
export default LineChartModal;