@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 578 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchMutations](./x-components.searchmutations.md) > [setStats](./x-components.searchmutations.setstats.md)
## SearchMutations.setStats() method
Sets the stats of the module.
**Signature:**
```typescript
setStats(stats: Stats): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| stats | Stats | The new stats to save to the state. |
**Returns:**
void