import type { Dispatch } from '../../../types.js'; import type { HTMLInputAttributes } from 'svelte/elements'; /** * Input component for form fields. * * Supports both controlled (with value binding) and action dispatch patterns. * * @packageDocumentation * * @example * ```svelte * * * * * *
* {state.emailError} *
* * * console.log(e.currentTarget.value)} * /> * ``` */ interface InputProps