Add API to render notification decoration

This commit is contained in:
R Midhun Suresh 2025-12-02 13:56:53 +05:30
parent 8019035578
commit 8f40ea5c0a

View File

@ -53,4 +53,12 @@ export interface BuiltinsApi {
* @param props - Additional props to pass to the room view
*/
renderRoomView(roomId: string, props?: RoomViewProps): React.ReactNode;
/**
* Render notification decoration component from element-web.
*
* @alpha
* @param roomId - Id of the room
*/
renderNotificationDecoration(roomId: string): React.ReactNode;
}