UNPKG

@ebay/ui-core-react

Version:

Skin components build off React

16 lines 634 B
import { ComponentProps, ReactNode } from "react"; import type Highcharts from "highcharts"; export interface DonutSeriesItem extends Omit<Highcharts.SeriesOptions, "type"> { data: Highcharts.PointOptionsObject[]; type?: "pie"; } export type EbayDonutChartProps = Omit<ComponentProps<"div">, "title"> & { title?: ReactNode; metricValue?: ReactNode; metricLabel?: ReactNode; series: DonutSeriesItem[]; highchartsDescription?: string; /** When true, renders the tooltip outside the chart SVG to prevent clipping. Default: true */ renderTooltipOutside?: boolean; }; //# sourceMappingURL=types.d.ts.map