@empathyco/x-components
Version:
Empathy X Components
78 lines (35 loc) • 1.27 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [XModuleOptions](./x-components.xmoduleoptions.md)
## XModuleOptions interface
Options for overriding the default config state and wiring for a [XModule](./x-components.xmodule.md)<!-- -->.
**Signature:**
```typescript
export interface XModuleOptions<ModuleName extends XModuleName>
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[config?](./x-components.xmoduleoptions.config.md)
</td><td>
</td><td>
DeepPartial<[ExtractState](./x-components.extractstate.md)<!-- --><ModuleName> extends { config: infer Config; } ? Config : never>
</td><td>
_(Optional)_ The options to override the default config state for the module.
</td></tr>
<tr><td>
[wiring?](./x-components.xmoduleoptions.wiring.md)
</td><td>
</td><td>
Partial<[Wiring](./x-components.wiring.md)<!-- -->>
</td><td>
_(Optional)_ The options to override the default wiring configuration for the module.
</td></tr>
</tbody></table>