We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey
I think it would be nice if custom styles could be passed via props. E.g one could change star size with style={{ fontSize: '50px' }}
style={{ fontSize: '50px' }}
Any thoughts?
The text was updated successfully, but these errors were encountered:
if you want to increase star size, i use this way
place the star inside div, and you set fontsize style to div, and it worked (for me, atleast)
import StarRatingComponent from 'react-star-rating-component' ...
import StarRatingComponent from 'react-star-rating-component'
<div style={{fontSize:'20px'}}> <StarRatingComponent starCount={5} value={3} starColor="#ffcc00" emptyStarColor="#b4b4b4" editing={false} /> </div>
Sorry, something went wrong.
No branches or pull requests
Hey
I think it would be nice if custom styles could be passed via props.
E.g one could change star size with
style={{ fontSize: '50px' }}
Any thoughts?
The text was updated successfully, but these errors were encountered: