|
| 1 | +import type * as Highcharts from 'highcharts'; |
| 2 | +import type { ReactElement, ReactNode } from 'react'; |
| 3 | +import { HighchartsChartProps, SeriesProps } from 'react-jsx-highcharts'; |
| 4 | + |
| 5 | +export * from 'react-jsx-highcharts'; |
| 6 | + |
| 7 | +export function HighchartsStockChart(props: HighchartsChartProps): ReactElement; |
| 8 | + |
| 9 | +// Navigator |
| 10 | +type NavigatorProps = { |
| 11 | + children?: ReactNode; |
| 12 | +} & Partial<Highcharts.NavigatorOptions>; |
| 13 | +export function Navigator(props: NavigatorProps): ReactElement; |
| 14 | +export namespace Navigator { |
| 15 | + type NavigatorSeriesProps = { |
| 16 | + seriesId: string |
| 17 | + } |
| 18 | + export function Series(props: NavigatorSeriesProps): ReactElement; |
| 19 | + |
| 20 | + type NavigatorXAxisProps = { |
| 21 | + children?: ReactNode |
| 22 | + } & Partial<Highcharts.NavigatorXAxisOptions>; |
| 23 | + export function XAxis(props: NavigatorXAxisProps): ReactElement; |
| 24 | + |
| 25 | + type NavigatorYAxisProps = { |
| 26 | + children?: ReactNode |
| 27 | + } & Partial<Highcharts.NavigatorYAxisOptions>; |
| 28 | + export function YAxis(props: NavigatorYAxisProps): ReactElement; |
| 29 | +} |
| 30 | + |
| 31 | +// RangeSelector |
| 32 | +type RangeSelectorProps = { |
| 33 | + children?: ReactNode; |
| 34 | +} & Partial<Highcharts.RangeSelectorOptions>; |
| 35 | +export function RangeSelector( |
| 36 | + props: RangeSelectorProps |
| 37 | +): ReactElement; |
| 38 | +export namespace RangeSelector { |
| 39 | + type RangeSelectorButtonProps = { |
| 40 | + children?: ReactNode; |
| 41 | + } & Partial<Omit<Highcharts.RangeSelectorButtonsOptions, "text">>; |
| 42 | + export function Button(props: RangeSelectorButtonProps): ReactElement; |
| 43 | + |
| 44 | + type RangeSelectorInputProps = { |
| 45 | + boxBorderColor?: Highcharts.ColorString; |
| 46 | + boxHeight?: number; |
| 47 | + boxWidth?: (number|undefined); |
| 48 | + dateFormat?: string; |
| 49 | + dateParser?: Highcharts.RangeSelectorParseCallbackFunction; |
| 50 | + editDateFormat?: string; |
| 51 | + enabled?: boolean; |
| 52 | + position?: Highcharts.RangeSelectorInputPositionOptions; |
| 53 | + spacing?: number; |
| 54 | + style?: Highcharts.CSSObject; |
| 55 | + } |
| 56 | + export function Input(props: RangeSelectorInputProps): ReactElement; |
| 57 | +} |
| 58 | + |
| 59 | +// Scrollbar |
| 60 | +export function Scrollbar(props: Highcharts.ScrollbarOptions): ReactElement; |
| 61 | + |
| 62 | +// Series |
| 63 | +export function CandlestickSeries( |
| 64 | + props: SeriesProps<Highcharts.SeriesCandlestickOptions> |
| 65 | +): ReactElement; |
| 66 | +export function FlagsSeries( |
| 67 | + props: SeriesProps<Highcharts.SeriesFlagsOptions> |
| 68 | +): ReactElement; |
| 69 | +export function OHLCSeries( |
| 70 | + props: SeriesProps<Highcharts.SeriesOhlcOptions> |
| 71 | +): ReactElement; |
0 commit comments