UNPKG

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.

28 lines (27 loc) 738 B
import { SvelteComponentTyped } from "svelte"; declare const __propDef: { props: { on?: boolean; }; events: { toggle: CustomEvent<any>; toggleOn: CustomEvent<any>; toggleOff: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }; slots: { default: { on: boolean; toggle: () => void; toggleOn: () => void; toggleOff: () => void; }; }; }; export type ToggleProps = typeof __propDef.props; export type ToggleEvents = typeof __propDef.events; export type ToggleSlots = typeof __propDef.slots; export default class Toggle extends SvelteComponentTyped<ToggleProps, ToggleEvents, ToggleSlots> { } export {};