0.0.1 • Published 4 years ago
react-native-upload-gallery v0.0.1
React Native Upload Gallery
Watch Demo Video!
Introduction:
:large_blue_circle: An image upload component for react native that works with drag and drop mechanics.
| Drag-Drop | Delete | Upload |
|---|---|---|
Installation:
npm install react-native-upload-galleryor
yarn add react-native-upload-galleryProps
| parameter | type | required | description |
|---|---|---|---|
| initialState | array | yes | image gallery initial value. |
| onChangeState | function | no | The 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"
},0.0.1
4 years ago