feat: move logic from index.tsx into Collab.tsx

This commit is contained in:
Arnošt Pleskot
2023-06-04 11:40:10 +02:00
parent aa91af8f7d
commit e1ff9791f2
4 changed files with 61 additions and 76 deletions
+6
View File
@@ -376,6 +376,12 @@ export enum UserIdleState {
IDLE = "idle",
}
export enum PauseCollaborationState {
PAUSE = "pause",
RESUME = "resume",
SYNC = "sync",
}
export type ExportOpts = {
saveFileToDisk?: boolean;
onExportToBackend?: (