m3-svelte
Version:
M3 Svelte implements the Material 3 design system in Svelte. See the [website](https://ktibow.github.io/m3-svelte/) for demos and usage instructions.
19 lines (18 loc) • 640 B
TypeScript
import type { IconifyIcon } from "@iconify/types";
import type { ButtonAttrs } from "../misc/typing-utils";
type ContentProps = {
size?: "normal";
icon?: IconifyIcon;
text: string;
} | {
size?: "small" | "normal" | "large";
icon: IconifyIcon;
text?: undefined;
};
type $$ComponentProps = {
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;