IInputProps
interface
Form & Input
Props contract for OrigamInput — the foundational input wrapper. Aggregates density, spacing, rounding, color, border, elevation, dimension, direction, validation, adjacent-slot, and size surfaces.
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- centerAffixboolean
- Center the prepend/append affix icons vertically in the input.
- hideDetailsboolean | string
- Hide hint and validation messages. Pass "auto" to hide only when no message is present.
- hideSpinButtonsboolean
- Hide the native browser spin buttons on number inputs.
- hintstring
- Helper text shown below the input.
- persistentHintboolean
- Always show the hint text, even when the input is not focused.
- messagesArray<string> | string
- Validation or status messages to display below the input.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Input with hint and validation messages