mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
493 B
TypeScript
18 lines
493 B
TypeScript
import * as React from "react";
|
|
import * as Highcharts from "highcharts";
|
|
import ReactHighcharts from "react-highcharts";
|
|
|
|
const config: Highcharts.Options = {};
|
|
|
|
function callback(chart: Highcharts.ChartObject): void {}
|
|
|
|
const isPureConfig = true;
|
|
|
|
export const _ = () => (
|
|
<>
|
|
<ReactHighcharts config={config} />
|
|
<ReactHighcharts config={config} callback={callback} />
|
|
<ReactHighcharts config={config} callback={callback} isPureConfig={isPureConfig} />
|
|
</>
|
|
);
|