UNPKG

react-financial-charts

Version:
36 lines (35 loc) 1.06 kB
import * as React from "react"; interface EdgeCoordinateProps { readonly className?: string; readonly type: "vertical" | "horizontal"; readonly coordinate: any; readonly x1: number; readonly y1: number; readonly x2: number; readonly y2: number; readonly orient?: "bottom" | "top" | "left" | "right"; readonly rectWidth?: number; readonly hideLine?: boolean; readonly fill?: string; readonly opacity?: number; readonly fontFamily: string; readonly fontSize: number; } export declare class EdgeCoordinate extends React.Component<EdgeCoordinateProps> { static defaultProps: { className: string; orient: string; hideLine: boolean; fill: string; opacity: number; fontFamily: string; fontSize: number; textFill: string; lineStroke: string; lineOpacity: number; arrowWidth: number; }; static drawOnCanvasStatic: (ctx: CanvasRenderingContext2D, props: any) => void; render(): JSX.Element | null; } export {};