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.

20 lines (19 loc) 728 B
import type { Snippet } from "svelte"; import type { HTMLAnchorAttributes, HTMLAttributes, HTMLLabelAttributes } from "svelte/elements"; import type { ButtonAttrs, NotButton } from "../misc/typing-utils"; type ActionProps = NotButton<HTMLAttributes<HTMLDivElement>> | ButtonAttrs | ({ label: true; } & NotButton<HTMLLabelAttributes>) | ({ href: string; } & NotButton<HTMLAnchorAttributes>); type $$ComponentProps = { leading?: Snippet; overline?: string; headline?: string; supporting?: string; trailing?: Snippet; lines?: number; } & ActionProps; declare const ListItem: import("svelte").Component<$$ComponentProps, {}, "">; type ListItem = ReturnType<typeof ListItem>; export default ListItem;