Skip to content

Commit 65872e2

Browse files
committed
Add API to render notification decoration
1 parent 478c77f commit 65872e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/element-web-module-api/src/api/builtins.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,12 @@ export interface BuiltinsApi {
5353
* @param props - Additional props to pass to the room view
5454
*/
5555
renderRoomView(roomId: string, props?: RoomViewProps): React.ReactNode;
56+
57+
/**
58+
* Render notification decoration component from element-web.
59+
*
60+
* @alpha
61+
* @param roomId - Id of the room
62+
*/
63+
renderNotificationDecoration(roomId: string): React.ReactNode;
5664
}

0 commit comments

Comments
 (0)