feat: add page mode filter (#2601)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
Whitewater
2023-05-30 20:15:23 -07:00
committed by himself65
parent 4a99376c21
commit 75c4519829
6 changed files with 75 additions and 38 deletions
+3
View File
@@ -139,3 +139,6 @@ export const workspaceRecentViresWriteAtom = atom<null, [string, View], View[]>(
return record[id];
}
);
export type PageModeOption = 'all' | 'page' | 'edgeless';
export const pageModeSelectAtom = atom<PageModeOption>('all');