Search
This is the <Select />
component
Basic Select
<Search onSubmit={val => { console.log(val)}} />
<Search onSubmit={val => { console.log(val)}} searchButton />
<Search onSubmit={val => { console.log(val)}} searchButton="Custom Search Button Text" />
Component API
Name | Type | Default | Description | |
---|---|---|---|---|
onSubmit | (value: string) => void | - | ||
searchButton | `boolean | string` | - |