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.

19 lines (18 loc) 604 B
import type { IconifyIcon } from "@iconify/types"; import type { HTMLInputAttributes } from "svelte/elements"; import type { ButtonAttrs } from "../misc/typing-utils"; type $$ComponentProps = { label: string; leadingIcon?: IconifyIcon; trailing?: { icon: IconifyIcon; } & ButtonAttrs; disabled?: boolean; required?: boolean; error?: boolean; value?: string; enter?: () => void; } & HTMLInputAttributes; declare const TextField: import("svelte").Component<$$ComponentProps, {}, "value">; type TextField = ReturnType<typeof TextField>; export default TextField;