@carbon/charts-svelte
Version:
Carbon Charts component library for Svelte
37 lines (36 loc) • 970 B
TypeScript
import { SvelteComponentTyped } from 'svelte'
import {
WordCloudChart as WordCloudChartCore,
type WordCloudChartOptions,
type WorldCloudChartOptions,
type ChartTabularData
} from '@carbon/charts'
declare const __propDef: {
props: {
[x: string]: any
options: WordCloudChartOptions | WorldCloudChartOptions
data: ChartTabularData
chart?: WordCloudChartCore | 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 WordCloudChartProps = typeof __propDef.props
export type WordCloudChartEvents = typeof __propDef.events
export type WordCloudChartSlots = typeof __propDef.slots
export default class WordCloudChart extends SvelteComponentTyped<
WordCloudChartProps,
WordCloudChartEvents,
WordCloudChartSlots
> {}
export {}