@glodon-aiot/react-components
Version:
aiot react components
20 lines (19 loc) • 509 B
TypeScript
import { CSSProperties, FC, Key } from 'react';
import { ITrackPoint } from '.';
interface TrackPointProps {
point: ITrackPoint;
open?: boolean;
key?: Key;
id?: Key;
x: number;
y: number;
r: number;
style?: CSSProperties & any;
scale?: number;
active?: boolean;
hidden?: boolean;
onPointClick?: (val: ITrackPoint) => void;
getTooltipContainer?: (node: HTMLElement) => HTMLElement;
}
declare const TrackPoint: FC<TrackPointProps>;
export default TrackPoint;