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.

21 lines (20 loc) 675 B
import type { IconifyIcon } from "@iconify/types"; import type { ButtonAttrs } from "../misc/typing-utils"; type ContentProps = { icon: IconifyIcon; text?: undefined; } | { icon?: undefined; text: string; } | { icon: IconifyIcon; text: string; }; type $$ComponentProps = { size?: "small" | "normal" | "medium" | "large"; color?: "primary-container" | "secondary-container" | "tertiary-container" | "primary" | "secondary" | "tertiary"; elevation?: "normal" | "lowered" | "none"; } & ContentProps & ButtonAttrs; declare const FAB: import("svelte").Component<$$ComponentProps, {}, "">; type FAB = ReturnType<typeof FAB>; export default FAB;