react-native-upload-gallery
0.0.1 • Public • Published
React Native Upload Gallery
Introduction:
🔵 An image upload component for react native that works with drag and drop mechanics.
Installation:
npm install react-native-upload-gallery
or
yarn add react-native-upload-gallery
Props
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"
},
Package Sidebar
Install
npm i react-native-upload-gallery
Weekly Downloads