UNPKG

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.

17 lines (16 loc) 589 B
import type { IconifyIcon } from "@iconify/types"; import type { HTMLButtonAttributes, HTMLAnchorAttributes } from "svelte/elements"; type ActionProps = ({ click: () => void; } & HTMLButtonAttributes) | ({ href: string; } & HTMLAnchorAttributes); type $$ComponentProps = { variant: "compact" | "medium" | "large" | "expanded" | "auto"; icon: IconifyIcon; text: string; selected: boolean; } & ActionProps; declare const NavCmlxItem: import("svelte").Component<$$ComponentProps, {}, "">; type NavCmlxItem = ReturnType<typeof NavCmlxItem>; export default NavCmlxItem;