@eggtronic/react-weather-widget
Version:
A nice weather widget component for react
17 lines (16 loc) • 601 B
TypeScript
/// <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;