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