https://github.com/berviantoleo/react-multi-crop
react-multi-crop component use fabric.js
https://github.com/berviantoleo/react-multi-crop
hacktoberfest multicrop react reactjs
Last synced: 4 months ago
JSON representation
react-multi-crop component use fabric.js
- Host: GitHub
- URL: https://github.com/berviantoleo/react-multi-crop
- Owner: berviantoleo
- License: mit
- Created: 2020-11-14T14:43:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T08:49:22.000Z (8 months ago)
- Last Synced: 2024-09-14T19:39:09.787Z (8 months ago)
- Topics: hacktoberfest, multicrop, react, reactjs
- Language: TypeScript
- Homepage: https://berviantoleo.github.io/react-multi-crop/
- Size: 25.1 MB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 49
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://lerna.js.org/) [](https://github.com/semantic-release/semantic-release)
# React Multi Crop (ReactMultiCrop)
Easy and extensible react component to crop as multiple image.
## Announcement
Version `0.22` and newer will be hosted at [npmjs](https://www.npmjs.com/package/@berviantoleo/react-multi-crop) only.
## Build Status
| Github Action | Codecov | Netlify Status |
|:-------------:|:-------:|:--------------:|
|  | [](https://codecov.io/gh/berviantoleo/react-multi-crop) | [](https://app.netlify.com/sites/react-multi-crop/deploys) |## How to Use
### Sample (Recommended) - Codesandbox.io* [Codesandbox.io - Typescript](https://codesandbox.io/s/react-crop-typescript-5jmo0)
* [Demo](https://react-multi-crop.netlify.app/)## Feature
1. Keyboard event, `delete` will delete your current pointing (active) of box-crop.
2. Mouse event, `double click` into box-crop will duplicate your box-crop.
3. Also there are some action in button that can be used, add shape (box-crop), delete selected object (box-crop), select all (box-crop), and discard current active selection (box-crop).## Running the Example use Docker and Vagrant
### Initialization
`vagrant up --provider=docker`
### Refresh Image
`vagrant reload`
### Ports
* Container Port Demo: 8080
* Container Port Examples: 8081## LICENSE
MIT
```md
MIT LicenseCopyright (c) 2020 Bervianto Leo Pratama
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```## Contact Person
Email: [email protected]