@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 656 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [XAPI](./x-components.xapi.md) > [init](./x-components.xapi.init.md)
## XAPI.init() method
Method to initialize the XComponents app.
**Signature:**
```typescript
init(config: SnippetConfig): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| config | [SnippetConfig](./x-components.snippetconfig.md) | [SnippetConfig](./x-components.snippetconfig.md) To receive the customer parameters. |
**Returns:**
Promise<void>