-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exposed Line Color, Line Gradient Start Color, Line Gradient End Color as props. #61
base: master
Are you sure you want to change the base?
Conversation
Added how to pass the props for, 1. line color 2. starting gradient line color 2. ending gradient line color
Added functions to retrieve values from react props. The functions are as follows. 1. setLineColor to retrieve the line color without gradient 2. lineGradientColorFrom to retrieve starting gradient color 3. setLineGradientColorTo to retrieve ending gradient color
Three methods were added to get the values which were passed from props and assigned them to the Paint object. The new methods are as follows, 1. setLineColor 2. setLineGradientColorFrom 3. setLineGradientColorTo
Added new PropTypes for lineColor, lineGradientColorFrom, and lineGradientColorTo props.
@lesliesam Thank you for this awesome library. It's much better than any other picker library for react-native. It would be very helpful for the community if you could please merge this PR. |
@lesliesam can you merge this PR? |
Has this been merged? Still doesn't work on iOS or Android? @lesliesam @6axter82 @m3rlin94 |
@He1nr1chK I am using react-native-wheel-picker-android the last maintenance is about 6 month ago and I had no any issue with using it: https://github.com/KalonTech/ReactNativeWheelPicker |
Hi @6axter82 appreciate the comment. Thank you will try it. |
This can be used on android at the moment.