@empathyco/x-components
Version:
Empathy X Components
30 lines (19 loc) • 912 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'\] | |
## Methods
| Method | Description |
| --- | --- |
| [mergeConfig(config)](./x-components.configmutations.mergeconfig.md) | Merges a new config with the current one. |
| [setConfig(config)](./x-components.configmutations.setconfig.md) | Sets the module config. |