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

Code Example 1

//to use materialize css in react js

npm install materialize-css

Learn ReactJs, React Native from akashmittal.com