Merge pull request #146 from element-hq/midhun/multiroom/render-notification-decoration

Add API to render notification decoration from EW
This commit is contained in:
R Midhun Suresh
2025-12-02 14:40:46 +05:30
committed by GitHub
2 changed files with 9 additions and 0 deletions
@@ -59,6 +59,7 @@ export interface Api extends LegacyModuleApiExtension, LegacyCustomisationsApiEx
// @alpha
export interface BuiltinsApi {
renderNotificationDecoration(roomId: string): React.ReactNode;
renderRoomAvatar(roomId: string, size?: string): React.ReactNode;
renderRoomView(roomId: string, props?: RoomViewProps): React.ReactNode;
}