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.
13 lines (12 loc) • 450 B
TypeScript
import type { Snippet } from "svelte";
import type { ButtonAttrs } from "../misc/typing-utils";
type $$ComponentProps = {
variant: "elevated" | "filled" | "tonal" | "outlined";
x?: "inner" | "right";
y?: "down" | "up";
children: Snippet;
menu: Snippet;
} & ButtonAttrs;
declare const SplitButton: import("svelte").Component<$$ComponentProps, {}, "">;
type SplitButton = ReturnType<typeof SplitButton>;
export default SplitButton;