@empathyco/x-components
Version:
Empathy X Components
25 lines (16 loc) • 917 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ConfigMutations](./x-components.configmutations.md)
## ConfigMutations interface
Config mutations, containing a method to change the current config and other to merge a new one.
**Signature:**
```typescript
export interface ConfigMutations<T extends {
config: T['config'];
}>
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [config](./x-components.configmutations.config.md) | | T\['config'\] | |
| [mergeConfig](./x-components.configmutations.mergeconfig.md) | | (config: T\['config'\]) => void | Merges a new config with the current one. |
| [setConfig](./x-components.configmutations.setconfig.md) | | (config: T\['config'\]) => void | Sets the module config. |