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