@empathyco/x-components
Version:
Empathy X Components
22 lines (13 loc) • 914 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchBoxActions](./x-components.searchboxactions.md)
## SearchBoxActions interface
SearchBox store actions.
**Signature:**
```typescript
export interface SearchBoxActions
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [setInputStatus](./x-components.searchboxactions.setinputstatus.md) | | (event: [XEvent](./x-components.xevent.md)<!-- -->) => void | Changes the machine state to a new state and updates the input status in the store with it. |
| [setUrlParams](./x-components.searchboxactions.seturlparams.md) | | (urlParams: [UrlParams](./x-components.urlparams.md)<!-- -->) => void | Checks if the url has a query on it and then updates the state with that value. |