UNPKG

@ebay/ui-core-react

Version:

Skin components build off React

23 lines 712 B
import type Highcharts from "highcharts"; interface BarChartTooltipPropsStacked { date: string; data: Highcharts.Series[]; stacked: true; x: number; } interface BarChartTooltipPropsNonStacked { date: string; data: Highcharts.Point & { label?: string; }; stacked: false; x: number; } type BarChartTooltipProps = BarChartTooltipPropsStacked | BarChartTooltipPropsNonStacked; /** * Generates the HTML string for the bar chart tooltip. * This replaces the Marko subtemplate.marko from the core component. */ export declare function barChartTooltipHtml({ date, data, stacked, x }: BarChartTooltipProps): string; export {}; //# sourceMappingURL=bar-chart-tooltip.d.ts.map