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.
11 lines (10 loc) • 312 B
TypeScript
import type { Snippet } from 'svelte';
import type { HTMLButtonAttributes } from 'svelte/elements';
interface DarkmodeProps extends HTMLButtonAttributes {
class?: string;
lightIcon?: Snippet;
darkIcon?: Snippet;
size?: 'sm' | 'md' | 'lg';
ariaLabel?: string;
}
export { type DarkmodeProps };