UNPKG

react-plot

Version:

Library of React components to render SVG 2D plots.

13 lines 497 B
import type { SVGProps } from 'react'; import type { ScalarValue } from '../../types.js'; export interface AnnotationPolylineProps extends Omit<SVGProps<SVGPolylineElement>, 'x1' | 'x2' | 'y1' | 'y2' | 'points'> { points: Array<{ x: ScalarValue; y: ScalarValue; }>; xAxis?: string; yAxis?: string; color?: string; } export declare function Polyline(props: AnnotationPolylineProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Polyline.d.ts.map