1.0.1 • Published 5 years ago

@gurmiguel/react-image-cut v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

react-image-cut

Manipulate an image with an intuitive Graphical Interface

NPM

Install

npm install --save @gurmiguel/react-image-cut

or with yarn

yarn add @gurmiguel/react-image-cut

Usage

import React, { Component } from 'react'

import { ImageCut } from 'react-image-cut'

const Example = ({ file }) => {
  return <ImageCut
    file={file}
    initialWidth={150}
    initialHeight={150}
    onEditComplete={(fileResult) => {
      // ...handle file result here
    }}
  />
}

License

MIT © gurmiguel

1.0.1

5 years ago

1.0.0

5 years ago