mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Update containCrop() definition
Add `previousCrop` arg
This commit is contained in:
Vendored
+1
-1
@@ -51,7 +51,7 @@ declare namespace ReactCrop {
|
||||
|
||||
function getPixelCrop(image: HTMLImageElement, percentCrop: Crop): Crop;
|
||||
function makeAspectCrop(crop: Crop, imageAspect: number): Crop;
|
||||
function containCrop(crop: Crop, imageAspect: number): Crop;
|
||||
function containCrop(previousCrop: Crop, crop: Crop, imageAspect: number): Crop;
|
||||
}
|
||||
|
||||
declare class ReactCrop extends Component<ReactCrop.ReactCropProps> {
|
||||
|
||||
Reference in New Issue
Block a user