Skip to content

berviantoleo/react-multi-crop

Repository files navigation

lerna 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 only.

Build Status

Github Action Codecov Netlify Status
Release codecov Netlify Status

How to Use

Sample (Recommended) - Codesandbox.io

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

MIT License

Copyright (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]