react-native-stars
react-native-stars copied to clipboard
StarRating won't change size
Hello,
I am using the custom version for the star rating and it's not letting me change the size even though I have set it to starSize={50}
Here's what I have set to:
<StarRating
default={2.5}
count={5}
half={true}
starSize={50}
fullStar={<Icon name={'star'} style={[styles.myStarStyle]}/>}
emptyStar={<Icon name={'star-outline'} style={[styles.myStarStyle, styles.myEmptyStarStyle]}/>}
halfStar={<Icon name={'star-half'} style={[styles.myStarStyle]}/>}
/>
Actually I realized, it's not recongizing the npm when I am importing it. It's saying that it couldn't find the react-native-stars
even though I have installed it with npm i react-native-stars --save