The SearchBar component renders a search input field with a search button.
The type of the input field.
The placeholder text for the input field.
Indicates if the search bar is in the header.
Custom class names for the search bar.
Indicates if the search bar is scrolled.
Optional
The SearchBar component renders a search input field with a search button.
Param: type
The type of the input field.
Param: placeholder
The placeholder text for the input field.
Param: inHeader
Indicates if the search bar is in the header.
Param: className
Custom class names for the search bar.
Param: scrolled
Indicates if the search bar is scrolled.
Returns