UNPKG

@eggtronic/react-weather-widget

Version:
17 lines (16 loc) 601 B
/// <reference types="react" /> import { LineChartData } from './types/weatherWidget'; export interface LineChartProps { data: LineChartData; width: string; height: string; padding?: [number, number]; labelPadding?: [number, number]; customLabel?: (val: number) => string; lineWidth?: number; labelSize?: number; labelColor?: string; lineColor?: string; } declare function LineChart({ data, width, height, padding, labelPadding, customLabel, lineWidth, lineColor, labelSize, labelColor }: LineChartProps): JSX.Element; export default LineChart;