useAttributeFilterSearch()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Use this hook if you want to implement your custom attribute filter search bar component.
useAttributeFilterSearch: (props: IUseAttributeFilterSearchProps) => {
onSearch: (search: string) => void;
search: string;
}
Parameters
Parameter | Type | Description |
|---|---|---|
props |
Returns
{ onSearch: (search: string) => void; search: string; }