Skip to content

Commit

Permalink
remove npm-run-all
Browse files Browse the repository at this point in the history
Signed-off-by: danieloprado <[email protected]>
  • Loading branch information
danieloprado committed Dec 10, 2018
1 parent 90d07aa commit 9a5af1b
Show file tree
Hide file tree
Showing 3 changed files with 6,818 additions and 5,170 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# collaborators wanted
# Collaborators Wanted
I have barely no time work on improve this project, needs collaborators for project maintenance.

## React Image Cropper
Expand All @@ -18,7 +18,7 @@ Custom:
+ frame width, height, ratio
+ crop event

### Hot to Use
### How to Use

+ `import {Cropper} from 'react-image-cropper'`

Expand Down Expand Up @@ -73,19 +73,19 @@ values:

+ custom use

| prop | value |
|:-------:|:--------|
| ratio | width / height |
| width | cropper frame width |
| height | cropper frame height |
| originX | cropper original position(x axis), accroding to image left|
| originY | cropper original position(Y axis), accroding to image top|
| fixedRatio | turn on/off fixed ratio (bool default true) |
| allowNewSelection | allow user to create a new selection instead of reusing initial selection (bool default true) |
| styles | specify styles to override inline styles |
| onImgLoad | specify fuction callback to run when the image completed loading |
| beforeImgload | specify function callback to run when the image size value is ready but image is not completed loading |
| onChange | triggred when dragging stop, get values of cropper |
| prop | value |
|:-----------------:|--------------------------------------------------------------------------------------------------------|
| ratio | width / height |
| width | cropper frame width |
| height | cropper frame height |
| originX | cropper original position(x axis), accroding to image left |
| originY | cropper original position(Y axis), accroding to image top |
| fixedRatio | turn on/off fixed ratio (bool default true) |
| allowNewSelection | allow user to create a new selection instead of reusing initial selection (bool default true) |
| styles | specify styles to override inline styles |
| onImgLoad | specify fuction callback to run when the image completed loading |
| beforeImgload | specify function callback to run when the image size value is ready but image is not completed loading |
| onChange | triggred when dragging stop, get values of cropper |


**[See the demo](http://braavos.me/react-image-cropper/)**
Expand Down
Loading

0 comments on commit 9a5af1b

Please sign in to comment.