Installation
npm install --save @types/react-highcharts
Summary
This package contains type definitions for react-highcharts (https://github.com/kirjs/react-highcharts).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highcharts.
import * as Highcharts from "highcharts";
import * as React from "react";
interface ReactHighchartsProps {
config: Highcharts.Options;
callback?(chart: Highcharts.ChartObject): void;
isPureConfig?: boolean | undefined;
}
declare class ReactHighcharts extends React.Component<ReactHighchartsProps> {
static Highcharts: Highcharts.Static;
}
export default ReactHighcharts;
Additional Details
Credits
These definitions were written by Jiri Marsicek.