Add API to render notification decoration
This commit is contained in:
@@ -53,4 +53,12 @@ export interface BuiltinsApi {
|
|||||||
* @param props - Additional props to pass to the room view
|
* @param props - Additional props to pass to the room view
|
||||||
*/
|
*/
|
||||||
renderRoomView(roomId: string, props?: RoomViewProps): React.ReactNode;
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user