UNPKG

@sorens/artist-svelte

Version:

an opinionated and clean UI framework for SvelteKit with theme support built-in

36 lines (35 loc) 1.02 kB
import { SvelteComponentTyped } from "svelte"; import type { ColorProp } from '../../types/components'; import type { useAction } from '../../types/global'; declare const __propDef: { props: { [x: string]: any; color?: ColorProp; checked?: boolean; useAction?: useAction<HTMLElement>; class?: string | undefined; }; events: { change: Event; click: MouseEvent; dblclick: MouseEvent; mouseenter: MouseEvent; mouseleave: MouseEvent; mouseover: MouseEvent; focus: FocusEvent; input: Event; } & { [evt: string]: CustomEvent<any>; }; slots: { off: {}; default: {}; on: {}; }; }; export declare type SwitchProps = typeof __propDef.props; export declare type SwitchEvents = typeof __propDef.events; export declare type SwitchSlots = typeof __propDef.slots; export default class Switch extends SvelteComponentTyped<SwitchProps, SwitchEvents, SwitchSlots> { } export {};