Check out example codes for "scss react". It will help you in understanding the concepts better.

Code Example 1

npm install node-sass --save-dev

Code Example 2

npm install node-sass --save

Learn ReactJs, React Native from akashmittal.com