mirror of
https://github.com/vector-im/element-web.git
synced 2026-04-20 13:02:05 +02:00
Render RoomView instead of simply returning it
This commit is contained in:
parent
214f3e20a8
commit
b9a90b2bfc
@ -25,11 +25,10 @@ export interface RoomViewProps {
|
||||
*/
|
||||
export interface BuiltinsApi {
|
||||
/**
|
||||
* Returns the RoomView component used by Element Web to render a room such that
|
||||
* modules can render it as part of their own custom room views.
|
||||
* Render room view component from element-web.
|
||||
*
|
||||
* @alpha
|
||||
* @returns The RoomView component.
|
||||
* @param roomId - Id of the room
|
||||
*/
|
||||
getRoomViewComponent(): React.ComponentType<RoomViewProps>;
|
||||
renderRoomView(roomId: string): React.ReactNode;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user