Render RoomView instead of simply returning it
This commit is contained in:
@@ -25,11 +25,10 @@ export interface RoomViewProps {
|
|||||||
*/
|
*/
|
||||||
export interface BuiltinsApi {
|
export interface BuiltinsApi {
|
||||||
/**
|
/**
|
||||||
* Returns the RoomView component used by Element Web to render a room such that
|
* Render room view component from element-web.
|
||||||
* modules can render it as part of their own custom room views.
|
|
||||||
*
|
*
|
||||||
* @alpha
|
* @alpha
|
||||||
* @returns The RoomView component.
|
* @param roomId - Id of the room
|
||||||
*/
|
*/
|
||||||
getRoomViewComponent(): React.ComponentType<RoomViewProps>;
|
renderRoomView(roomId: string): React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user