react-img-crop

1.0.4 • Public • Published

Simple image crop base on react

Config all take by user: imageContainer, debugContainer, generateButton, loadPreviousButton, backgroundImage, canvas, sizeControllerWrap, sizeController, sizeControlProgress, fileNameDom, fileSelector, editor, onCrop;

Version History

1.0.4 Fix scale issue when update canvas size, user can remove control bar
1.0.3 User can define crop size by set canvas width and height
1.0.2 Make it as react modules and add react demo
1.0.0 ~ 1.0.1 Base function implement, simple ui demo

Package Sidebar

Install

npm i react-img-crop

Weekly Downloads

2

Version

1.0.4

License

ISC

Unpacked Size

7.59 kB

Total Files

3

Last publish

Collaborators

  • evanlau