An open API service indexing awesome lists of open source software.

https://github.com/meowtec/recrop

cropping & rectangle selection component for React
https://github.com/meowtec/recrop

cropper react react-component

Last synced: 8 months ago
JSON representation

cropping & rectangle selection component for React

Awesome Lists containing this project

README

          

# recrop
a customizable image-crop / region-selection component for React.

## Demo
https://meowtec.github.io/recrop/

## Usage
```sh
npm i recrop --save
```

```javascript
import { ImageCrop } from 'recrop'

class ImageCropApp extends PureComponent {
state = {
crop: null,
}

handleCropChange = (crop) => {
this.setState({ crop })
}

render() {
return (




)
}
}
```

## Feature
- Customizable
- Write in TypeScript

For more usages see [demo](https://meowtec.github.io/recrop/)