🔵 An image upload component for react native that works with drag and drop mechanics.
Drag-Drop | Delete | Upload |
---|---|---|
npm install react-native-upload-gallery
parameter | type | required | description |
---|---|---|---|
initialState | array | yes | image gallery initial value. |
onChangeState | function | no | The function that is triggered when the sequence changes. |
const App: () => Node = () => {
return (
<UploadGallery
initialState={demodata}
onChangeState={(state) => {
console.log(state)
}}/>
);
};
"dependencies": {
"react": "17.0.2",
"react-native": "0.65.1",
"react-native-draggable-grid": "^2.1.3",
"react-native-image-picker": "^4.0.6"
},