UNPKG

m3-svelte

Version:
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;