The Search Input component allows user to search via typing in text.
The SearchInput
component is a component that combines a TextInput
with a search icon.
It works exactly the same as a TextInput
.
The SearchInput
component works the same as using input
directly.
Use e.target.value
to get the value of the component on change.