@react-financial-charts/interactive
Version:
Interactive features for react-financial-charts
19 lines (18 loc) • 674 B
TypeScript
import * as React from "react";
interface DrawingObjectSelectorProps {
readonly getInteractiveNodes: () => any[];
readonly onSelect?: (e: React.MouseEvent, interactives: any[], moreProps: any) => void;
readonly onDoubleClick?: (e: React.MouseEvent, item: any, moreProps: any) => void;
readonly drawingObjectMap: any;
readonly enabled: boolean;
}
export declare class DrawingObjectSelector extends React.Component<DrawingObjectSelectorProps> {
static defaultProps: {
enabled: boolean;
};
render(): JSX.Element;
private readonly getInteraction;
private readonly handleClick;
private readonly handleDoubleClick;
}
export {};