react-native-ratings
react-native-ratings copied to clipboard
determine the ranking value directly
what if we want to set the value directly?
@amanu-nur Can you provide more description around what you are trying to accomplish?
Have you tried the defaultRating
param?
I set hardcoded 1 to defaultRating and it keeps displaying two stars and half selected, unfortunately I will try another stars library (this in iOS app)
<Rating
style={{ paddingVertical: 10 }}
defaultRating={1}
value={1}
/>
I set hardcoded 1 to defaultRating and it keeps displaying two stars and half selected, unfortunately I will try another stars library (this in iOS app)
<Rating style={{ paddingVertical: 10 }} defaultRating={1} value={1} />
Same for me... on IOS last version keeps showing two stars and half despite defaultRating set.