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.
17 lines (16 loc) • 472 B
TypeScript
import type { SizeType, ColorName } from '../../types';
import type { Snippet } from 'svelte';
interface CheckboxButtonProps {
children: Snippet;
class?: string;
group?: (string | number)[];
value?: string | number;
checked?: boolean | undefined;
inline?: boolean;
pill?: boolean;
outline?: boolean;
size?: SizeType;
color?: ColorName | 'alternative' | 'dark' | 'light';
shadow?: boolean;
}
export { type CheckboxButtonProps };