mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-12-04 16:53:09 +00:00
Custom component concept piece
This commit is contained in:
@@ -10,6 +10,7 @@ import { LegacyModuleApiExtension } from "./legacy-modules";
|
||||
import { LegacyCustomisationsApiExtension } from "./legacy-customisations";
|
||||
import { ConfigApi } from "./config";
|
||||
import { I18nApi } from "./i18n";
|
||||
import { CustomComponentsApi, CustomComponentTarget } from "./custom-components";
|
||||
|
||||
/**
|
||||
* Module interface for modules to implement.
|
||||
@@ -86,6 +87,8 @@ export interface Api extends LegacyModuleApiExtension, LegacyCustomisationsApiEx
|
||||
* @public
|
||||
*/
|
||||
readonly rootNode: HTMLElement;
|
||||
|
||||
readonly customComponents: CustomComponentsApi;
|
||||
/**
|
||||
* Create a ReactDOM root for rendering React components.
|
||||
* Exposed to allow modules to avoid needing to bundle their own ReactDOM.
|
||||
|
||||
Reference in New Issue
Block a user