We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02bd69d commit b776bc9Copy full SHA for b776bc9
src/modules/BuiltinsApi.tsx
@@ -12,6 +12,9 @@ import { MatrixClientPeg } from "../MatrixClientPeg";
12
import type { Room } from "matrix-js-sdk/src/matrix";
13
14
interface RoomViewPropsWithRoomId extends RoomViewProps {
15
+ /**
16
+ * The ID of the room to display
17
+ */
18
roomId?: string;
19
}
20
@@ -26,9 +29,8 @@ interface Components {
26
29
27
30
28
31
export class ElementWebBuiltinsApi implements BuiltinsApi {
- private _roomView?: React.ComponentType<RoomViewPropsWithRoomId>;
- private _roomAvatar?: React.ComponentType<RoomAvatarProps>;
-
32
+ private _roomView?: Components["roomView"];
33
+ private _roomAvatar?: Components["roomAvatar"];
34
/**
35
* Sets the components used by the API.
36
*
0 commit comments