0.0.1 • Published 6 years ago

pickerdialog v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

PickerDialog

React Native API compatible Picker with support for dialog mode on iOS

This module implements the API for React Native Picker delegating its functionality to the native components, and adds support for the dialog mode on iOS to mimic how they behave in web (Safari).

How it works

When running on Platform.OS === 'iOS' and mode === 'dialog', it shows a modal panel with the same UI that shown on Safari web browser for select HTML elements, or like any other picker in iOS apps instead of the inline big scroll PickerIOS that's shown by default. Otherwise, it just simply delegate to show a regular React Native Picker.