🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@types/react-highcharts

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-highcharts - npm Package Compare versions

Comparing version

to
16.0.7

46

react-highcharts/index.d.ts
import * as Highcharts from "highcharts";
import * as React from "react";
/**
* Props for ReactHighcharts component.
*/
interface ReactHighchartsProps {
declare namespace ReactHighcharts {
/**
* Highcharts configuration options.
* Props for ReactHighcharts component.
*/
config: Highcharts.Options;
/**
* @param after-render callback.
*/
callback?(chart: Highcharts.ChartObject): void;
interface ReactHighchartsProps {
/**
* Highcharts configuration options.
*/
config: Highcharts.Options;
/**
* Chart will not rerender if the config is referentially equal to previous and this property is true
*/
isPureConfig?: boolean | undefined;
/**
* Chart will not rerender if the config is referentially equal to previous and this property is true
*/
isPureConfig?: boolean | undefined;
neverReflow?: boolean | undefined;
/**
* after-render callback.
*/
callback?: ((chart: Highcharts.ChartObject) => void) | undefined;
/**
* Passing properties to the wrapping DOM element
*/
domProps?: Partial<React.JSX.IntrinsicElements["div"]> | undefined;
}
function withHighcharts(Highcharts: Highcharts.Static): typeof ReactHighcharts;
}

@@ -26,6 +38,8 @@

*/
declare class ReactHighcharts extends React.Component<ReactHighchartsProps> {
declare class ReactHighcharts extends React.Component<ReactHighcharts.ReactHighchartsProps> {
static chartType: string;
static Highcharts: Highcharts.Static;
static displayName: string;
}
export default ReactHighcharts;
export = ReactHighcharts;
{
"name": "@types/react-highcharts",
"version": "16.0.6",
"version": "16.0.7",
"description": "TypeScript definitions for react-highcharts",

@@ -26,4 +26,5 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highcharts",

},
"typesPublisherContentHash": "da02cec309e3d40d5304466ebfaaa9e49773a728a640ed6570dfb917a0d1df9a",
"typeScriptVersion": "4.5"
"peerDependencies": {},
"typesPublisherContentHash": "e0b66c3b75f090b7f40fa93da26e91b5730e70487ae6d0e6dd11ff9bf770e3c1",
"typeScriptVersion": "5.1"
}

@@ -14,19 +14,31 @@ # Installation

/**
* Props for ReactHighcharts component.
*/
interface ReactHighchartsProps {
declare namespace ReactHighcharts {
/**
* Highcharts configuration options.
* Props for ReactHighcharts component.
*/
config: Highcharts.Options;
/**
* @param after-render callback.
*/
callback?(chart: Highcharts.ChartObject): void;
interface ReactHighchartsProps {
/**
* Highcharts configuration options.
*/
config: Highcharts.Options;
/**
* Chart will not rerender if the config is referentially equal to previous and this property is true
*/
isPureConfig?: boolean | undefined;
/**
* Chart will not rerender if the config is referentially equal to previous and this property is true
*/
isPureConfig?: boolean | undefined;
neverReflow?: boolean | undefined;
/**
* after-render callback.
*/
callback?: ((chart: Highcharts.ChartObject) => void) | undefined;
/**
* Passing properties to the wrapping DOM element
*/
domProps?: Partial<React.JSX.IntrinsicElements["div"]> | undefined;
}
function withHighcharts(Highcharts: Highcharts.Static): typeof ReactHighcharts;
}

@@ -37,7 +49,9 @@

*/
declare class ReactHighcharts extends React.Component<ReactHighchartsProps> {
declare class ReactHighcharts extends React.Component<ReactHighcharts.ReactHighchartsProps> {
static chartType: string;
static Highcharts: Highcharts.Static;
static displayName: string;
}
export default ReactHighcharts;
export = ReactHighcharts;

@@ -47,3 +61,3 @@ ````

### Additional Details
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Last updated: Sat, 05 Apr 2025 05:35:09 GMT
* Dependencies: [@types/highcharts](https://npmjs.com/package/@types/highcharts), [@types/react](https://npmjs.com/package/@types/react)

@@ -50,0 +64,0 @@