feat(pdf-reader): add manual save to the top bar functionality for document edits (#1426)

Co-authored-by: Alex <25013571+alexhb1@users.noreply.github.com>
This commit is contained in:
brios
2026-05-22 15:56:23 +01:00
committed by GitHub
co-authored by Alex
parent b210265599
commit 0e76b381aa
7 changed files with 256 additions and 44 deletions
@@ -50,7 +50,8 @@ export type ReaderIconName =
| 'moon'
| 'dots-horizontal'
| 'zoom-in'
| 'zoom-out';
| 'zoom-out'
| 'save';
interface IconPath {
d: string;
@@ -290,6 +291,11 @@ const ICONS: Record<ReaderIconName, IconPath[]> = {
{d: 'M11 11m-8 0a8 8 0 1 0 16 0a8 8 0 1 0-16 0', type: 'path'},
{d: 'M21 21l-4.35-4.35'},
{d: 'M8 11h6'}
],
'save': [
{d: 'M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z'},
{d: 'M17 21v-8H7v8'},
{d: 'M7 3v5h8'}
]
};