NdYAG/react-rater

Export sass file

etienne-lambert opened this issue · 3 comments

Hi,

The scss file should be included in the lib, so that "the CSS way" of styling from the doc works.
I'm not familiar enough with webpack to make the required change, though that should be easy for someone with experience.
Note that css and scss files should have different names (maybe react-rater-sass.scss) for easier import.

NdYAG commented

Hi @etienne-lambert ,
The sass file is compiled to css file in lib. Right now to import the css file, you need import it like this,

import 'react-rater/lib/react-rater.css'

Hi. I know but if you want to change the star colors as mentionned in your doc you need the scss file not the css file. I suggest you should export both.

NdYAG commented

Hi @etienne-lambert,
thank you for the advice. Now sass file is included into /lib.
9284b88
Please update to 0.4.8.