Tidyup
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
/*
|
||||
Copyright 2025 New Vector Ltd.
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import type { JSX } from "react";
|
||||
import type { MatrixEvent } from "matrix-js-sdk";
|
||||
|
||||
|
||||
@@ -10,7 +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";
|
||||
import { CustomComponentsApi } from "./custom-components";
|
||||
|
||||
/**
|
||||
* Module interface for modules to implement.
|
||||
@@ -88,6 +88,10 @@ export interface Api extends LegacyModuleApiExtension, LegacyCustomisationsApiEx
|
||||
*/
|
||||
readonly rootNode: HTMLElement;
|
||||
|
||||
/**
|
||||
* The custom components API.
|
||||
* @public
|
||||
*/
|
||||
readonly customComponents: CustomComponentsApi;
|
||||
/**
|
||||
* Create a ReactDOM root for rendering React components.
|
||||
|
||||
Reference in New Issue
Block a user