1.0.1 • Published 8 years ago
rc-cropping v1.0.1
rc-cropping
React Cropping Component
Feature
- Cropping pictures in facebook mode.
- Cropping result preview.
- Supports exporting circle and square picture.
- I18n.
- FUTURE Rotate picture.
Screenshots
Development
npm install
npm startExample
http://localhost:8001/examples/
online example: http://react-component.github.io/cropping/
install
Usage
var Cropping = require('rc-cropping');
var React = require('react');
ReactDOM.render(<CropViewer
getSpinContent={() => <span>loading...</span> }
renderModal={() => <Dialog />}
circle={true}
/>, document.getElementById('__react-content'));API
props
Test Case
npm test
npm run chrome-testCoverage
npm run coverageopen coverage/ dir
License
rc-cropping is released under the MIT license.
1.0.1
8 years ago
0.2.0
8 years ago
0.1.16
9 years ago
0.1.15
9 years ago
0.1.14
9 years ago
0.1.13
9 years ago
0.1.12
9 years ago
0.1.11
9 years ago
0.1.10
9 years ago
0.1.9
9 years ago
0.1.8
9 years ago
0.1.7
9 years ago
0.1.6
9 years ago
0.1.5
9 years ago
0.1.4
9 years ago
0.1.3
9 years ago
0.1.2
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago
0.0.5
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago
