Search

This component is a simple search input box that can be used to filter data on a page.

Example

API

Name Type Default Description
onSearch func REQUIRED A callback fired when text changes in the input box to trigger a search. REQUIRED
onBlur func Empty func A callback fired when clicking away from the input text box. NOT REQUIRED
placeholderText string Empty string A string input to insert placeholder text in the search input field. When not supplied there is no placeholder text NOT REQUIRED
labelText string Empty string A string input add a label above the input field. When not supplied there is no label added. NOT REQUIRED
autoFocus bool false A boolean supplied to determine if the input field will focus on load. NOT REQUIRED

Used by

Team
Galileo