diff options
author | Piotr P <piotr.palek@housecallpro.com> | 2024-04-27 14:23:11 +0200 |
---|---|---|
committer | Piotr P <piotr.palek@housecallpro.com> | 2024-04-27 14:31:45 +0200 |
commit | bc956803b800715ae2ebbc2105b44c9dc335863b (patch) | |
tree | ebc9134dc0360ea165e070266bb72980aef9cdc3 /src/state/modals/index.tsx | |
parent | ebd333b331d7103322d4e0a1c6f5035c0b22bdd9 (diff) | |
download | voidsky-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.tsx | 1 |
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 } |