
Description
react-native-wheel-picker-android is a wheel picker component for React Native. It is a simple wheel picker for Android, and on iOS it uses the Picker that comes with React Native. The package installs with yarn, and the README gives instructions for automatic linking and for a manual Android setup in the settings, build and main application files. You pass the list of items as a data array and receive the selected position through the onItemSelected callback. The props let you make the wheel cyclic, set the selected and initial items, and style the text colors and sizes and font family for both the selected item and the others. You can also show or hide the indicator line, set its color and width, and change the background. A disabled prop stops the user from changing the selection. The README has a section for time pickers on iOS, which uses DatePickerIOS. A clone-and-run example folder is included in the repository.…
Highlights
- Wheel picker for React Native on Android
- Uses the React Native Picker on iOS
- Cyclic wheel option
- Styling for text, indicator and background
- Example folder in the repository
Ratings & Reviews
No ratings yet
Be the first to rate react-native-wheel-picker-android.
People also visit
react-native-wheel-picker-android FAQ
What is this component?
A wheel picker for React Native, built for Android, with the standard Picker on iOS.
How do I install it?
Install it with yarn add react-native-wheel-picker-android. The README gives an automatic link command and manual Android steps.
How do I get the selected value?
Use the onItemSelected callback, which returns the selected position.
Can it loop around?
Yes. The isCyclic prop makes the wheel cyclic.
Is there a time picker?
The README includes a time picker section for iOS that uses DatePickerIOS.
What are the best react-native-wheel-picker-android alternatives?
Popular alternatives to react-native-wheel-picker-android include react-mobile-picker, react-native-date-picker and @react-native-community/datetimepicker. See all react-native-wheel-picker-android alternatives
















