Skip to content

9.0.0

Compare
Choose a tag to compare
@sekoyo sekoyo released this 20 Aug 00:46
· 163 commits to master since this release

Note that you should use 9.0.2 (9.0.0 + 9.0.1 are deprecated due to some issues)

The library is now written in Typescript and comes with two breaking changes:

  1. You should remove @types/react-image-crop as the library is now self-documenting.
  2. If you were importing the .scss file, the path is now src/ReactCrop.scss instead of lib/ReactCrop.scss.

There are also two new props:

  • scale: For zooming the image in and out. Defaults to 1. Combine with react-zoom-pan-pinch if you want pinch and scroll zooming.
  • rotate: For rotating the image between -180 to 180. Defaults to 0.

scale-rotate