UNPKG

@blockscout/ui-toolkit

Version:

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

12 lines (11 loc) 624 B
import { default as React } from 'react'; import { LineChartItem } from '../types'; import { AnimationType } from '../utils/animations'; import * as d3 from 'd3'; export interface LineChartLineProps extends React.SVGProps<SVGPathElement> { xScale: d3.ScaleTime<number, number> | d3.ScaleLinear<number, number>; yScale: d3.ScaleTime<number, number> | d3.ScaleLinear<number, number>; data: Array<LineChartItem>; animation: AnimationType; } export declare const LineChartLine: React.MemoExoticComponent<({ xScale, yScale, data, animation, strokeDasharray, ...props }: LineChartLineProps) => React.JSX.Element>;