@blockscout/ui-toolkit
Version:
A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects
12 lines (11 loc) • 488 B
TypeScript
import { default as React } from 'react';
import { LineChartData } from '../types';
import * as d3 from 'd3';
export interface LineChartSelectionXProps {
height: number;
anchorEl?: SVGRectElement | null;
scale: d3.ScaleTime<number, number>;
data: LineChartData;
onSelect: (range: [Date, Date]) => void;
}
export declare const LineChartSelectionX: React.MemoExoticComponent<({ anchorEl, height, scale, data, onSelect }: LineChartSelectionXProps) => React.JSX.Element>;