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) • 636 B
TypeScript
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 TextFieldOutlined: import("svelte").Component<$$ComponentProps, {}, "value">;
type TextFieldOutlined = ReturnType<typeof TextFieldOutlined>;
export default TextFieldOutlined;