recrop
a customizable image-crop / region-selection component for React.
Demo
https://meowtec.github.io/recrop/
Usage
npm i recrop --save
state = crop: null { this } { return <div style= height: 400 width: 600 > <ImageCrop crop=thisstatecrop src="your_image_url" onChange=thishandleCropChange /> </div> }
Feature
- Customizable
- Write in TypeScript
For more usages see demo