React Native Star Rating Component
A React Native component for generating and displaying interactive star ratings. Compatible with both iOS and Android.
Installation
npm install react-native-rating-star --save
Usage
; { return <View style=stylescontainer> <Text style=styleswelcome> StarRating not set starSize and interitemSpacing </Text> <StarRating maxStars=5 rating=1 selectStar= unSelectStar= valueChanged=this_valueChanged /> <Text style=styleswelcome> StarRating set starSize </Text> <StarRating maxStars=5 rating=2 selectStar= unSelectStar= valueChanged=this_valueChanged starSize=25 /> <Text style=styleswelcome> StarRating set starSize and interitemSpacing </Text> <StarRating maxStars=5 rating=3 selectStar= unSelectStar= valueChanged=this_valueChanged starSize=50 interitemSpacing=20 /> </View> ; } { console; }