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.
17 lines (16 loc) • 515 B
TypeScript
import type { IconifyIcon } from "@iconify/types";
import type { HTMLOptionAttributes, HTMLSelectAttributes } from "svelte/elements";
type Option = {
icon?: IconifyIcon;
text: string;
value: string;
} & HTMLOptionAttributes;
type $$ComponentProps = {
label: string;
options: Option[];
width?: string;
value: string;
} & HTMLSelectAttributes;
declare const Select: import("svelte").Component<$$ComponentProps, {}, "value">;
type Select = ReturnType<typeof Select>;
export default Select;