react-pictures-manager

1.0.0 • Public • Published

Contributors Forks Stargazers Issues MIT License Sponsors LinkedIn


Logo

React-Pictures-Manager

Simple picture manager to help you in your react apps.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

Product Name Screen Shot

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm
npm install npm@latest -g
  • React
npm install react

Local Installation

  1. Clone the repo
git clone https://github.com/exagonsoft/React-Picture-Manager.git
  1. Install NPM packages
npm install

Usage

  1. Import package

    npm install react-pictures-manager
  2. Use the sneap <ImagesUploader> to use the component width in your code. (example...)

    <div id="imagesContainer" className="campaign-card-image-container">
     <ImagesUploader imageList={images} onchange={onImagesChange}></ImagesUploader>
    </div>

    Where imageList argument: is a list of objects like:

    {
     id: index (Number),
     blob_file: ImageData (base64String),
     filename: the file name (string),
     url: the file url (string),
    }

    And onChange call's an event handler like:

    const onImagesChange = async imageList => {
      //...Your Code here
    }
    • The (imageList) parameter is an actualized objects list

For more examples, please refer to the Documentation

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Alvaro R Martin Peraza

Project Link: https://github.com/exagonsoft/React-Picture-Manager

Acknowledgements

Package Sidebar

Install

npm i react-pictures-manager

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

305 kB

Total Files

8

Last publish

Collaborators

  • exagonsoft