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.
RoomViewProps
renderRoomView
1 parent 1509f86 commit 85b251eCopy full SHA for 85b251e
src/modules/BuiltinsApi.tsx
@@ -35,9 +35,9 @@ export class ElementWebBuiltinsApi implements BuiltinsApi {
35
return this._roomView;
36
}
37
38
- public renderRoomView(roomId: string): React.ReactNode {
+ public renderRoomView(roomId: string, props?: Omit<RoomViewProps, "roomId">): React.ReactNode {
39
const Component = this.getRoomViewComponent();
40
- return <Component roomId={roomId} />;
+ return <Component roomId={roomId} {...props} />;
41
42
43
public renderRoomAvatar(roomId: string, size?: string): React.ReactNode {
0 commit comments