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.
12 lines (11 loc) • 343 B
TypeScript
import type { Snippet } from 'svelte';
import type { HTMLLabelAttributes } from 'svelte/elements';
import { type ColorName } from '../../types';
interface LabelProps extends HTMLLabelAttributes {
children: Snippet;
color?: ColorName | 'disabled';
show?: boolean;
class?: string;
for?: string;
}
export { type LabelProps };