Cropperjs as React component
ref
to get cropper (for less re-render)ReactCropperElement
which extends HTMLImageElement
to add missing cropper
fieldhttps://github.com/react-cropper/react-cropper/compare/v2.1.5...v2.1.6
ref
to get cropper (for less re-render)ReactCropperElement
which extends HTMLImageElement
to add missing cropper
fieldhttps://github.com/react-cropper/react-cropper/compare/v2.1.5-0...v2.1.6-0
react
to allow react:17https://github.com/react-cropper/react-cropper/compare/v2.1.4...v2.1.5
https://github.com/react-cropper/react-cropper/compare/v2.1.3...v2.1.4
https://github.com/react-cropper/react-cropper/compare/v2.1.2...v2.1.3
https://github.com/react-cropper/react-cropper/compare/v2.1.1...v2.1.2
https://github.com/react-cropper/react-cropper/compare/v2.1.0...v2.1.1
https://github.com/react-cropper/react-cropper/compare/v2.0.0...v2.1.0
ref
has been removed. Use the onInitialized
method to get the cropper
instance.aspectRatio
use initialAspectRatio
.data
, canvasData
and cropBoxData
are directly passed on to cropperjs
and their respective setters are not called as earlier.moveTo
as earlier. Directly use the moveTo
method from the cropper
instance.@types/react-cropper
and provides its own types. Please uninstall/remove @types/react-cropper
as they might 'cause issues.https://github.com/react-cropper/react-cropper/compare/1.3.0...v2.0.0