API Reference
Search component
<Search placeholder="Search" />
Parameters
props
- Type:
@vtex/shoreline-components.SearchProps & @types/react.React.RefAttributes<typescript.HTMLInputElement>
Props
loading
(optional)
Whether component is loading or not
-
Type:
boolean
-
Default:
false
onClear
(optional)
- Type:
{ (): void; }