voronianski / react-star-rating-component

Basic React component for star (or any other icon based) rating elements
http://voronianski.github.io/react-star-rating-component/example
MIT License
380 stars 77 forks source link

Is there a way to make the component 100% width? #42

Closed A7DC closed 6 years ago

A7DC commented 6 years ago

Probably a really silly question, but can't seem to figure this out:

Is there a way you make the component 100% width, with the stars automatically growing to fill the space?

screen shot 2018-01-18 at 20 31 26
voronianski commented 6 years ago

You need to write your css for every star in order to achieve this.