about summary refs log tree commit diff
path: root/src/state/modals/index.tsx
diff options
context:
space:
mode:
authorMary <148872143+mary-ext@users.noreply.github.com>2024-09-24 23:27:40 +0700
committerGitHub <noreply@github.com>2024-09-25 01:27:40 +0900
commitb9516202fa17325a3d54e54372ddd56149be129c (patch)
treee95ff75e6b6e8d6ef3ab6a3ccd34fe293a4a3568 /src/state/modals/index.tsx
parented512d6dc5390555232bb4ac3f96f477751c33b1 (diff)
downloadvoidsky-b9516202fa17325a3d54e54372ddd56149be129c.tar.zst
Revamp image editor (#5462)
* new image editor

* Rm react-avatar-editor

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/state/modals/index.tsx')
-rw-r--r--src/state/modals/index.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx
index 9bc96cf5e..5be21dfd3 100644
--- a/src/state/modals/index.tsx
+++ b/src/state/modals/index.tsx
@@ -39,6 +39,8 @@ export interface CropImageModal {
   name: 'crop-image'
   uri: string
   dimensions?: {width: number; height: number}
+  aspect?: number
+  circular?: boolean
   onSelect: (img?: RNImage) => void
 }