wnr / react-native-picker-input

Input fields that shows a picker when selected. Uses the real iOS picker/input approach, no simulation. Android picker works as normal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-picker-input

Getting started

$ npm install react-native-picker-input --save

Installation

React Native 0.60 and above

Linking is not required in React Native 0.60 and above. For iOS: Run pod install in the ios directory.

React Native below 0.60

$ react-native link react-native-picker-input

Manual installation, iOS

If linking is not working for iOS follow these steps:

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-picker-input and add WNRPickerInput.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libWNRPickerInput.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)

About

Input fields that shows a picker when selected. Uses the real iOS picker/input approach, no simulation. Android picker works as normal.

License:MIT License


Languages

Language:Objective-C 47.9%Language:JavaScript 46.0%Language:Ruby 6.0%