react-financial-charts
Version:
React charts specific to finance.
28 lines (27 loc) • 745 B
TypeScript
import * as React from "react";
interface SvgPathAnnotationProps {
readonly className?: string;
readonly path: any;
readonly onClick?: any;
readonly xAccessor?: any;
readonly xScale?: any;
readonly yScale?: any;
readonly datum?: object;
readonly stroke?: string;
readonly fill?: string;
readonly opacity?: number;
}
export declare class SvgPathAnnotation extends React.Component<SvgPathAnnotationProps> {
static defaultProps: {
className: string;
opacity: number;
x: ({ xScale, xAccessor, datum }: {
xScale: any;
xAccessor: any;
datum: any;
}) => any;
};
render(): JSX.Element;
private readonly handleClick;
}
export {};