# @types/react-highcharts

> TypeScript definitions for react-highcharts

Latest version **16.0.7** (published 2025-04-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-highcharts
pnpm add @types/react-highcharts
yarn add @types/react-highcharts
bun add @types/react-highcharts
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 16.0.7 |
| Published | 2025-04-05 |
| First published | 2018-12-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51442 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-highcharts
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highcharts
- npm.io page: https://npm.io/package/@types/react-highcharts

## Dependencies (2)

- [@types/react](https://npm.io/package/@types/react.md) *
- [@types/highcharts](https://npm.io/package/@types/highcharts.md) ^5.0.44

## Recent versions

- 16.0.7 (latest) — 2025-04-05
- 16.0.6 (ts4.5) — 2023-11-07
- 16.0.3 (ts3.8) — 2021-07-08
- 16.0.2 (ts3.5) — 2019-11-07
- 16.0.5 — 2023-10-18
- 16.0.4 — 2023-09-27
- 16.0.1 — 2019-03-15
- 16.0.0 — 2018-12-17

## README

# 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.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highcharts/index.d.ts)
````ts
import * as Highcharts from "highcharts";
import * as React from "react";

declare namespace ReactHighcharts {
    /**
     * Props for ReactHighcharts component.
     */
    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;

        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;
}

/**
 * React interface for highcharts.
 */
declare class ReactHighcharts extends React.Component<ReactHighcharts.ReactHighchartsProps> {
    static chartType: string;
    static Highcharts: Highcharts.Static;
    static displayName: string;
}

export = ReactHighcharts;

````

### Additional Details
 * 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)

# Credits
These definitions were written by [Jiri Marsicek](https://github.com/j1r1k).

---
_Source: https://npm.io/package/@types/react-highcharts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
