feat: add optional spinner into toast message

This commit is contained in:
Arnošt Pleskot 2023-06-04 11:56:48 +02:00
parent e1ff9791f2
commit ef190ebf30
No known key found for this signature in database
4 changed files with 29 additions and 1 deletions

View file

@ -343,6 +343,7 @@ class Collab extends PureComponent<Props, CollabState> {
this.excalidrawAPI.setToast({
message: t("toast.reconnectRoomServer"),
duration: Infinity,
spinner: true,
closable: false,
});
}