UNPKG

@empathyco/x-components

Version:
78 lines (35 loc) 1.27 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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&lt;[ExtractState](./x-components.extractstate.md)<!-- -->&lt;ModuleName&gt; extends { config: infer Config; } ? Config : never&gt; </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&lt;[Wiring](./x-components.wiring.md)<!-- -->&gt; </td><td> _(Optional)_ The options to override the default wiring configuration for the module. </td></tr> </tbody></table>