UNPKG

m3-svelte

Version:

M3 Svelte implements the Material 3 design system in Svelte. See the [website](https://kendell.dev/m3-svelte/) for demos and usage instructions.

13 lines (12 loc) 461 B
import type { IconifyIcon } from "@iconify/types"; import type { HTMLInputAttributes } from "svelte/elements"; type $$ComponentProps = { checked?: boolean; disabled?: boolean; uncheckedIcon?: IconifyIcon; checkedIcon?: IconifyIcon; icons?: "checked" | "both" | "none"; } & HTMLInputAttributes; declare const Switch: import("svelte").Component<$$ComponentProps, {}, "checked">; type Switch = ReturnType<typeof Switch>; export default Switch;