The Text Area component allow user to type in longer content.
Similar to text inputs, Evergreen exports two components to create text areas:
textarea
element.The Textarea
component works the same as using textarea
directly.
Use e.target.value
to get the value of the component on change.
The TextareaField
component combines a Textarea
with a label and optional description
, validationMessage
and hint
. The example below shows how each of these fields is rendered on the text field. Try opening the code example and changing some of the fields.
The TextareaField
component works the same as using textarea
directly.
Use e.target.value
to get the value of the component on change.