react-native-ratings
react-native-ratings copied to clipboard
How to give padding/margin in between icons.
Currently it's kind of to close to each other.
I want this much gap in between icons.
did you find any solution for this?
Hey! 👋 You can add spacing between the stars using the starStyle prop in react-native-ratings. Just apply a margin to it like this:
<Rating count={5} defaultRating={3} starStyle={{ marginHorizontal: 4 }} // Adjust spacing here />