UNPKG

@senka-ai/ui

Version:

A modern, type-safe Svelte 5 UI component library with full theme support, accessibility standards, and robust state management patterns

18 lines 798 B
import type { FormInputComponent } from '../../type/component'; import { type ValidationRule } from '../../utils/validation.svelte'; interface Props extends FormInputComponent { inputState?: 'default' | 'focused' | 'error' | 'disabled'; showPlaceholder?: boolean; value?: string; rows?: number; maxlength?: number; resize?: 'none' | 'vertical' | 'horizontal' | 'both'; /** Array of validation rules to apply to this field */ validationRules?: ValidationRule<string>[]; /** Whether to show validation errors immediately or only after blur */ validateOnChange?: boolean; } declare const TextArea: import("svelte").Component<Props, {}, "value">; type TextArea = ReturnType<typeof TextArea>; export default TextArea; //# sourceMappingURL=TextArea.svelte.d.ts.map