UNPKG

svelte-5-ui-lib

Version:

Svelte 5 UI Lib is a UI library built from scratch to leverage Svelte 5's runes system, creating smooth, reactive components.

20 lines (19 loc) 545 B
import type { Snippet } from 'svelte'; import type { LinkType } from '../types'; import type { HTMLAttributes } from 'svelte/elements'; interface MegaMenuProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> { children: Snippet<[{ item: LinkType; index: number; }]>; footer?: Snippet; items?: LinkType[]; full?: boolean; ulClass?: string; dropdownStatus: boolean; divClass?: string; footerClass?: string; headerClass?: string; class?: string; } export { type MegaMenuProps };