fix: updated signature of onImageLoaded

This commit is contained in:
Elias Chaaya
2019-01-17 16:08:52 +01:00
parent 7ba12568d9
commit 64f80aee7c
+1 -1
View File
@@ -36,7 +36,7 @@ declare namespace ReactCrop {
keepSelection?: boolean;
onChange: (crop: Crop, pixelCrop: PixelCrop) => void;
onComplete?: (crop: Crop, pixelCrop: PixelCrop) => void;
onImageLoaded?: (target: HTMLImageElement) => void;
onImageLoaded?: (target: HTMLImageElement, pixelCrop: PixelCrop) => void;
onDragStart?: () => void;
onDragEnd?: () => void;
disabled?: boolean;