react-financial-charts
Version:
React charts specific to finance.
39 lines (38 loc) • 1.07 kB
TypeScript
import * as React from "react";
interface ClickableShapeProps {
readonly fontWeight: string;
readonly fontFamily: string;
readonly fontStyle: string;
readonly fontSize: number;
readonly stroke: string;
readonly strokeOpacity: number;
readonly strokeWidth: number;
readonly text: string;
readonly textBox: {
closeIcon: any;
left: number;
padding: any;
};
readonly hovering?: boolean;
readonly interactiveCursorClass?: string;
readonly show?: boolean;
readonly onHover?: any;
readonly onUnHover?: any;
readonly onClick?: any;
readonly yValue: number;
}
export declare class ClickableShape extends React.Component<ClickableShapeProps> {
static defaultProps: {
show: boolean;
fillOpacity: number;
strokeOpacity: number;
strokeWidth: number;
};
private closeIcon;
render(): JSX.Element | null;
private readonly renderSVG;
private readonly drawOnCanvas;
private readonly isHover;
private readonly helper;
}
export {};