UNPKG

react-financial-charts

Version:
32 lines (31 loc) 998 B
/// <reference types="d3-format" /> import * as React from "react"; import { default as defaultDisplayValuesFor } from "./displayValuesFor"; interface RSITooltipProps { readonly origin: number[] | any; readonly options: { windowSize: number; }; readonly className?: string; readonly fontFamily?: string; readonly fontSize?: number; readonly onClick?: ((event: React.MouseEvent<SVGGElement, MouseEvent>) => void); readonly yAccessor: any; readonly displayFormat: any; readonly displayValuesFor?: any; readonly textFill?: string; readonly labelFill?: string; } export declare class RSITooltip extends React.Component<RSITooltipProps> { static defaultProps: { displayFormat: (n: number | { valueOf(): number; }) => string; displayValuesFor: typeof defaultDisplayValuesFor; origin: number[]; className: string; }; render(): JSX.Element; private readonly renderSVG; } export {};