react-easy-crop v2.0.0 Release Notes
Release Date: 2020-01-05 // over 4 years ago-
v2.0.0
Typescript
The library has been rewritten to Typescript and now ships its own definitions.
๐ฑ โ ๏ธ Breaking changes
๐ We have removed all the deprecated props and some other props that were actually useless.
Here are the (few) migration steps:
- ๐
crossOrigin
was removed: you can directly pass thecrossOrigin
attribute to themediaProps
property. - ๐
onImgError
andonMediaError
were removed: you can directly pass theonError
callback to themediaProps
property. - ๐
onImageLoaded
was removed: you should now use theonMediaLoaded
property
Commits
- ๐