1.4.1 • Published 3 years ago
expo-image-picker-multiple v1.4.1
expo-image-picker-multiple
Multiple image (video, etc.) selecting package for Expo SDK (React Native) using MediaLibrary and Permissions.
Snack full demo with navbar and compression
Features
- Selects multiple images
- Changes orientation (4 in a row for vertical and 7 for horizontal orientations)
- Displays the selected image number
- Permission requests
- Customization
- Sorting from new to old
Usage
- Install the repository
or$ npm install --save expo-image-picker-multiple
$ yarn add expo-image-picker-multiple
- Add an import to the top of your file
import { ImageBrowser } from 'expo-image-picker-multiple';
Declare the component in the render method.
<ImageBrowser max={4} onChange={(num, onSubmit) => { }} callback={(callback) => { }} />
Props:
max
: maximum number of photosloadCount
: by default50
loadCompleteMetadata
: Whether to load extra fields like location. Loading all of the information will reduce performance. by defaultfalse
emptyStayComponent
: by defaultnull
noCameraPermissionComponent
: by defaultnull
preloaderComponent
: by defaultActivityIndicator
(loader)renderSelectedComponent
: one-parameter (selected number) function is expected to return the component for the icon/text over the selected picturemediaType
: photo by default (mediaType)
1.4.1
3 years ago
1.4.0
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago