react-native-alert-picker
List picker that uses native solutions
Installation
npm
npm install react-native-alert-picker
yarn
yarn add react-native-alert-picker
Usage
import { openAlert } from 'react-native-alert-picker';
// ...
openAlert(
'Phone Ringtone',
['None', 'Callisto', 'Ganymede', 'Luna', 'Oberon', 'Phobos', 'Dione'],
(selectedItem) => {
onSubmit(selectedItem);
}
);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library