UNPKG

@carbon/charts-svelte

Version:
36 lines (35 loc) 867 B
import { SvelteComponentTyped } from 'svelte' import { DonutChart as DonutChartCore, type DonutChartOptions, type ChartTabularData } from '@carbon/charts' declare const __propDef: { props: { [x: string]: any options: DonutChartOptions data: ChartTabularData chart?: DonutChartCore | undefined ref?: HTMLDivElement | undefined } events: { load: CustomEvent<null> update: CustomEvent<{ data: ChartTabularData options: import('@carbon/charts').BaseChartOptions }> destroy: CustomEvent<null> } & { [evt: string]: CustomEvent<any> } slots: {} } export type DonutChartProps = typeof __propDef.props export type DonutChartEvents = typeof __propDef.events export type DonutChartSlots = typeof __propDef.slots export default class DonutChart extends SvelteComponentTyped< DonutChartProps, DonutChartEvents, DonutChartSlots > {} export {}