about summary refs log tree commit diff
path: root/src/state/modals/index.tsx
diff options
context:
space:
mode:
authorPiotr P <piotr.palek@housecallpro.com>2024-04-27 14:23:11 +0200
committerPiotr P <piotr.palek@housecallpro.com>2024-04-27 14:31:45 +0200
commitbc956803b800715ae2ebbc2105b44c9dc335863b (patch)
treeebc9134dc0360ea165e070266bb72980aef9cdc3 /src/state/modals/index.tsx
parentebd333b331d7103322d4e0a1c6f5035c0b22bdd9 (diff)
downloadvoidsky-bc956803b800715ae2ebbc2105b44c9dc335863b.tar.zst
allow for custom cropper aspect ration based on image
Diffstat (limited to 'src/state/modals/index.tsx')
-rw-r--r--src/state/modals/index.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx
index 0f61a9711..cf82bcd07 100644
--- a/src/state/modals/index.tsx
+++ b/src/state/modals/index.tsx
@@ -47,6 +47,7 @@ export interface EditImageModal {
 export interface CropImageModal {
   name: 'crop-image'
   uri: string
+  dimensions?: {width: number; height: number}
   onSelect: (img?: RNImage) => void
 }