Add id or cssClass option to rating stars wrapper
abz121 opened this issue · comments
abz121 commented
The component is awesome, but I need to style the parent wrapper (that holds individual stars) to things like align center. currently it doesn't have a css id and the props don't get passed through
dreyescat commented
You are not the first one requesting this kind of flexibility (#68). I think it makes sense to propagate the className
to the wrapper element. I will take a look.
dreyescat commented
Now id
, style
, and className
are propagated to the container element.
Released in version 1.2.0
Dimitris Karagiannis commented
I'll take care of publishing the new version to npm and updating the docs about this, during the weekend.