Exporting
You can add the exporting module to your chart using the Exporting component:
import { Chart, Series } from "@highcharts/react";import { Exporting } from "@highcharts/react/options/exporting";export default function ExportingChart() {return (<Chart><Exporting chartOptions={{ title: { text: "exported Chart" } }} /><Series data={[3, 4, 1, 5, 2]} /></Chart>);}
The Exporting component accepts all exporting API options as props.