UNPKG

react-sparklines-typescript

Version:

react-sparklines rewritten in typescript and modern react patterns

15 lines (14 loc) 415 B
import { FC, CSSProperties } from "react"; import { Point } from "./types"; export interface SparklinesLineProps { color?: string; data?: number[]; height?: number; margin?: number; onMouseMove?: (e: string, n: number, p: Point) => void; points?: Point[]; style?: CSSProperties; width?: number; } declare const SparklinesLine: FC<SparklinesLineProps>; export default SparklinesLine;