mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Add API to render notification decoration
This commit is contained in:
parent
8019035578
commit
8f40ea5c0a
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user