react-plot
Version:
Library of React components to render SVG 2D plots.
15 lines • 616 B
TypeScript
import type { CSSProperties } from 'react';
import type { BaseSeriesProps } from '../../types.js';
export interface RangeSeriesPoint {
x: number;
y1: number;
y2: number;
}
export interface RangeSeriesProps<T extends RangeSeriesPoint> extends BaseSeriesProps {
data: readonly T[];
lineStyle?: CSSProperties;
}
declare function RangeSeriesInner<T extends RangeSeriesPoint>(props: RangeSeriesProps<T>): import("react/jsx-runtime").JSX.Element | null;
export declare const RangeSeries: import("react").MemoExoticComponent<typeof RangeSeriesInner>;
export {};
//# sourceMappingURL=RangeSeries.d.ts.map