@react-financial-charts/interactive
Version:
Interactive features for react-financial-charts
31 lines (30 loc) • 928 B
TypeScript
import * as React from "react";
export interface ZoomButtonsProps {
readonly fill: string;
readonly fillOpacity: number;
readonly heightFromBase: number;
readonly onReset?: () => void;
readonly r: number;
readonly stroke: string;
readonly strokeWidth: number;
readonly textFill: string;
readonly zoomMultiplier: number;
}
export declare class ZoomButtons extends React.Component<ZoomButtonsProps> {
static defaultProps: {
fill: string;
fillOpacity: number;
heightFromBase: number;
r: number;
stroke: string;
strokeWidth: number;
textFill: string;
zoomMultiplier: number;
};
static contextType: React.Context<import("@react-financial-charts/core").ChartContextType>;
private interval?;
render(): JSX.Element;
private readonly handleZoomIn;
private readonly handleZoomOut;
private readonly zoom;
}