Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StarRating won't change size #35

Open
darias08 opened this issue Jan 2, 2023 · 1 comment
Open

StarRating won't change size #35

darias08 opened this issue Jan 2, 2023 · 1 comment

Comments

@darias08
Copy link

darias08 commented Jan 2, 2023

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
Copy link
Author

darias08 commented Jan 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant