undefined
Read the documentation on its replacement, which should be used for any new development.
The TextInput component is controlled component input field that handles user events. For more on controlled components see here.
Error state, useful for applying form validation.
The description
and errorMessage
props provide more context and useful hints.