@empathyco/x-components
Version:
Empathy X Components
59 lines (27 loc) • 781 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [DeviceMutations](./x-components.devicemutations.md)
## DeviceMutations interface
Device store mutations.
**Signature:**
```typescript
export interface DeviceMutations
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[setName](./x-components.devicemutations.setname.md)
</td><td>
</td><td>
(device: string \| null) => void
</td><td>
Sets the [DeviceState.name](./x-components.devicestate.name.md) of the module.
</td></tr>
</tbody></table>