react-native-stars icon indicating copy to clipboard operation
react-native-stars copied to clipboard

StarRating won't change size

Open darias08 opened this issue 2 years ago • 1 comments

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]}/>}
         />

image0

darias08 avatar Jan 02 '23 22:01 darias08

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

darias08 avatar Jan 02 '23 22:01 darias08