allow for custom cropper aspect ration based on image

This commit is contained in:
Piotr P 2024-04-27 14:23:11 +02:00
parent ebd333b331
commit bc956803b8
3 changed files with 30 additions and 5 deletions

View file

@ -47,6 +47,7 @@ export interface EditImageModal {
export interface CropImageModal {
name: 'crop-image'
uri: string
dimensions?: {width: number; height: number}
onSelect: (img?: RNImage) => void
}