svelte-ux
Version:
- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`
29 lines (28 loc) • 718 B
TypeScript
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
id?: string;
value?: any;
checked?: boolean;
disabled?: boolean;
size?: 'sm' | 'md' | 'lg';
};
events: {
change: Event;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
checked: boolean;
value: any;
};
};
};
export type SwitchProps = typeof __propDef.props;
export type SwitchEvents = typeof __propDef.events;
export type SwitchSlots = typeof __propDef.slots;
export default class Switch extends SvelteComponentTyped<SwitchProps, SwitchEvents, SwitchSlots> {
}
export {};