image-crop-react
v1.0.3
Published
Image cropper react component
Downloads
6
Readme
image-crop-react
Installation
npm install --save image-crop-react
Usage
See src/example.js
import ImageCrop from 'image-crop-react'
<ImageCrop src={source}
onLoad={this.handleCrop}
onChange={this.handleCrop}
height={200}
width={200}
ref={ ref => { this.imageCrop = ref }} />
Screenshots
TODO
- d.ts file
- detailed usage readme
- tests coverage