@carbon/charts-svelte
Version:
Carbon Charts component library for Svelte
36 lines (35 loc) • 867 B
TypeScript
import { SvelteComponentTyped } from 'svelte'
import {
ComboChart as ComboChartCore,
type ComboChartOptions,
type ChartTabularData
} from '@carbon/charts'
declare const __propDef: {
props: {
[x: string]: any
options: ComboChartOptions
data: ChartTabularData
chart?: ComboChartCore | 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 ComboChartProps = typeof __propDef.props
export type ComboChartEvents = typeof __propDef.events
export type ComboChartSlots = typeof __propDef.slots
export default class ComboChart extends SvelteComponentTyped<
ComboChartProps,
ComboChartEvents,
ComboChartSlots
> {}
export {}