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 4abe62c9e0
commit 7ed3250042
6 changed files with 75 additions and 38 deletions

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');