SearchBox
A searchbox component
Installation
Properties
value
string
Default value
onChange
(newValue: string) => void
This function is called whenever the text changes. The new text value is passed as a parameter
className
string
Any additional class names to be included for the input field
collapsed
boolean
show only a icon button when true. When click on the button it will show the actual search box
position
position of search box
placeholder
string
placeholder value
autoFocus
boolean
input will be auto focused if true
value
Default value
string
onChange
This function is called whenever the text changes. The new text value is passed as a parameter
(newValue: string) => void
className
Any additional class names to be included for the input field
string
collapsed
show only a icon button when true. When click on the button it will show the actual search box
boolean
position
position of search box
placeholder
placeholder value
string
autoFocus
input will be auto focused if true
boolean
Last updated