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.
23 lines (22 loc) • 642 B
TypeScript
import type { Snippet } from 'svelte';
import type { HTMLAttributes } from 'svelte/elements';
import type { HTMLLiAttributes } from 'svelte/elements';
interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
children: Snippet;
solid?: boolean;
navClass?: string;
olClass?: string;
ariaLabel?: string;
class?: string;
}
interface BreadcrumbItemProps extends HTMLLiAttributes {
children: Snippet;
icon?: Snippet;
home?: boolean;
href?: string;
linkClass?: string;
spanClass?: string;
homeClass?: string;
class?: string;
}
export { type BreadcrumbProps, type BreadcrumbItemProps };