react-native-select-photo
v0.0.1
Published
A module that selects photo based on android photo picker
Downloads
88
Readme
react-native-select-photo
A module that selects photo based on android photo picker
Installation
npm install react-native-select-photo
Usage
import { selectSinglePhoto, selectMultiplePhoto } from 'react-native-select-photo';
// When you want to select a photo
const uri = await selectSinglePhoto();
// When you want to select some photos
const uriList = await selectMultiplePhoto();
Development
To ge started, specyfy yarn version to 3.6.1 and run the following commands:
yarn set version 3.6.1
yarn
Toe check your code passes TypeScript and ESLint, run the following commands:
yarn tsc
yarn lint
To fix formatting, run the following command:
yarn lint --fix
To build the project, run the following command:
yarn build
License
MIT
Made with create-react-native-library