<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XAPI](./x-components.xapi.md) &gt; [setSnippetConfig](./x-components.xapi.setsnippetconfig.md)

## XAPI.setSnippetConfig() method

To set or update any property of the [SnippetConfig](./x-components.snippetconfig.md)<!-- -->.

**Signature:**

```typescript
setSnippetConfig(config: Partial<SnippetConfig>): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  config | Partial&lt;[SnippetConfig](./x-components.snippetconfig.md)<!-- -->&gt; | The properties to be changed. |

**Returns:**

void

