The Text Input component allows user to type in text.
Evergreen exports two components to create text inputs:
input
element.The TextInput
component is a basic text input component.
It directly maps to a input
element.
The TextInput
component works the same as using input
directly.
Use e.target.value
to get the value of the component on change.
The TextInputField
component combines a TextInput
with a label and optional
description
, validationMessage
and hint
.
The TextInputField
component works the same as using input
directly.
Use e.target.value
to get the value of the component on change.