UNPKG

@react-financial-charts/interactive

Version:
18 lines (17 loc) 496 B
import * as React from "react"; export interface TextProps { readonly children: string; readonly fontFamily: string; readonly fontSize: number; readonly fillStyle: string; readonly selected?: boolean; readonly xyProvider: (moreProps: any) => number[]; } export declare class Text extends React.Component<TextProps> { static defaultProps: { selected: boolean; }; render(): JSX.Element; private readonly isHover; private readonly drawOnCanvas; }