mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
chore: update api.md
This commit is contained in:
parent
81212a3c16
commit
ca6443e4a2
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user