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) • 320 B
TypeScript
import type { Snippet } from 'svelte';
import type { HTMLInputAttributes } from 'svelte/elements';
interface SearchProps<T> extends Omit<HTMLInputAttributes, 'size'> {
children?: Snippet;
inputClass?: string;
size?: 'sm' | 'md' | 'lg';
placeholder?: string;
value?: T;
}
export { type SearchProps };