@empathyco/x-components
Version:
Empathy X Components
55 lines (26 loc) • 806 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BaseXAPI](./x-components.basexapi.md) > [setSnippetConfig](./x-components.basexapi.setsnippetconfig.md)
## BaseXAPI.setSnippetConfig() method
Sets or updates the snippet config.
**Signature:**
```typescript
setSnippetConfig(config: Partial<SnippetConfig>): void;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
config
</td><td>
Partial<[SnippetConfig](./x-components.snippetconfig.md)<!-- -->>
</td><td>
A part or all the snippet config.
</td></tr>
</tbody></table>
**Returns:**
void