chore: update api.md

This commit is contained in:
Florian Duros 2025-10-28 16:18:10 +01:00
parent 81212a3c16
commit ca6443e4a2

View File

@ -60,7 +60,7 @@ export interface Api extends LegacyModuleApiExtension, LegacyCustomisationsApiEx
// @alpha
export interface BuiltinsApi {
renderRoomAvatar(roomId: string, size?: string): React.ReactNode;
renderRoomView(roomId: string): React.ReactNode;
renderRoomView(roomId: string, props?: Omit<RoomViewProps, "roomId">): React.ReactNode;
}
// @alpha @deprecated (undocumented)
@ -347,6 +347,10 @@ export interface RoomListStoreApi {
// @alpha
export interface RoomViewProps {
// (undocumented)
hideComposer?: boolean;
// (undocumented)
hideHeader?: boolean;
roomId?: string;
}