svelte-ux
Version:
A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.
70 lines (69 loc) • 1.8 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
data: {
label: string;
value: number;
color?: string;
style?: string;
classes?: {
root?: string;
bar?: string;
};
}[];
total?: number | undefined | undefined;
classes?: {
root?: string;
item?: string;
} | undefined;
};
events: {
itemClick: CustomEvent<{
label: string;
value: number;
color?: string;
style?: string;
classes?: {
root?: string;
bar?: string;
};
}>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
item: {
label: string;
value: number;
color?: string;
style?: string;
classes?: {
root?: string;
bar?: string;
};
};
total: number;
};
bar: {
item: {
label: string;
value: number;
color?: string;
style?: string;
classes?: {
root?: string;
bar?: string;
};
};
total: number;
};
};
};
export type BarStackProps = typeof __propDef.props;
export type BarStackEvents = typeof __propDef.events;
export type BarStackSlots = typeof __propDef.slots;
export default class BarStack extends SvelteComponentTyped<BarStackProps, BarStackEvents, BarStackSlots> {
}
export {};