cl-react-graph
Version:
21 lines (20 loc) • 595 B
TypeScript
import React, { FC } from 'react';
import { IPointStyle } from './Points';
export declare const defaultPointStyle: IPointStyle;
export interface IPointProps {
id?: string;
/** @description Pixel x value */
cx: number;
/** @description Pixel y value */
cy: number;
/** @description Actual X value */
x?: number | string | Date;
/** @description Actual Y value */
y?: number | string | Date;
z: number;
className?: string;
opacity?: number;
children?: React.ReactNode;
}
declare const Point: FC<IPointStyle & IPointProps>;
export default Point;