Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data/lips
example
fixtures
playground
src
test
.babelrc
.cz-config.js
.editorconfig
.eslintignore
.eslintrc
.gitattributes
.gitignore
.jshintrc
.npmignore
.travis.yml
license
package.json
readme.md
webpack.config.dev.js
webpack.config.js
webpack.config.playground.js

readme.md

##Demo npm version Build Status Join the chat at https://gitter.im/lapanoid/redux-cropper Github Issues Pending Pull-Requests License semantic-release

Port of fengyuanchen cropper to react, redux and immutable-js

Under development, please report an issue if you run into some bug

api should be as close as possible to this

to transform redux app to plain react component I use redux-as-component

#Usage

npm i redux-cropper --save

see example here

You also should use these webpack loaders as redux-cropper use css-modules internally (see this PR for details)

{
  test: /\.module.scss$/,
	loader: 'style-loader!css-loader?modules&importLoaders=2&sourceMap&localIdentName=[local]___[hash:base64:5]!autoprefixer?browsers=last 2 version!sass?outputStyle=expanded&sourceMap'
},
{
	test: /^((?!\.module).)*\.scss$/,
	loader: 'style!css!sass'
}

##Thanks! @fengyuanchen for his awesome jQuery plugin

You can’t perform that action at this time.