0.0.1 • Published 3 years ago

react-native-upload-gallery v0.0.1

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

React Native Upload Gallery

npm license Build Status Open Issues

Watch Demo Video!

Introduction:

:large_blue_circle: An image upload component for react native that works with drag and drop mechanics.

Drag-DropDeleteUpload

Installation:

npm install react-native-upload-gallery

or

yarn add react-native-upload-gallery

Props

parametertyperequireddescription
initialStatearrayyesimage gallery initial value.
onChangeStatefunctionnoThe function that is triggered when the sequence changes.

Usage

const App: () => Node = () => {
  return (
    <UploadGallery
    initialState={demodata}
    onChangeState={(state) => {
      console.log(state)
    }}/>
  );
};

Dependencies

  "dependencies": {
    "react": "17.0.2",
    "react-native": "0.65.1",
    "react-native-draggable-grid": "^2.1.3",
    "react-native-image-picker": "^4.0.6"
  },