JSPM

pickerdialog

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q14646F
  • License MIT

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

Package Exports

  • pickerdialog

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pickerdialog) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.