@visx/xychart
Version:
Composable cartesian coordinate chart built with visx primitives
8 lines • 578 B
TypeScript
/// <reference types="react" />
import { AxisScale } from '@visx/axis';
import { BaseAnnotationProps } from './private/BaseAnnotation';
export declare type AnnotationProps<XScale extends AxisScale, YScale extends AxisScale, Datum extends object> = {
editable?: boolean;
} & Omit<BaseAnnotationProps<XScale, YScale, Datum>, 'AnnotationComponent'>;
export default function Annotation<XScale extends AxisScale, YScale extends AxisScale, Datum extends object>({ editable, ...props }: AnnotationProps<XScale, YScale, Datum>): JSX.Element;
//# sourceMappingURL=Annotation.d.ts.map