UNPKG

geist-ui-svelte

Version:

<img src="./src/lib/assets/demo-page.png">

22 lines (21 loc) 695 B
import { SvelteComponent } from "svelte"; declare const __propDef: { props: { border?: boolean; }; events: { [evt: string]: CustomEvent<any>; }; slots: {}; }; export type LightSwitchProps = typeof __propDef.props; export type LightSwitchEvents = typeof __propDef.events; export type LightSwitchSlots = typeof __propDef.slots; /** * A component to allow the user to toggle light/dark mode. * * [See Docs](https://geist-ui-svelte.dev/components/lightswitch) | [Open Issue](https://github.com/ieedan/geist-ui-svelte/issues/new) */ export default class LightSwitch extends SvelteComponent<LightSwitchProps, LightSwitchEvents, LightSwitchSlots> { } export {};