Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

reimagine

raulchedrese9MIT0.3.1TypeScript support: included

Simple React image uploader.

react-component, image, upload

readme

Reimagine

Simple React image uploader.

Installation

npm install --save reimagine

or

yarn add reimagine

Example

https://codesandbox.io/s/hungry-mayer-5q5sl?fontsize=14

Usage

import Reimagine from "reimagine";

<Reimagine
  width={200}
  height={200}
  onSelectImage={uploadImage}
  onEdit={editImage}
/>;