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.

19 lines (18 loc) 519 B
import type { Snippet } from 'svelte'; import type { HTMLLiAttributes } from 'svelte/elements'; type TagType = 'ul' | 'dl' | 'ol' | undefined; type PositionType = 'inside' | 'outside' | undefined; interface ListProps { children: Snippet; tag?: TagType; position?: PositionType; ctxClass?: string; class?: string; isContenteditable?: boolean; } interface LiProps extends HTMLLiAttributes { children: Snippet; icon?: boolean; class?: string; } export { type ListProps, type LiProps };