Skip to main content

CSS & SASS support

To add your styles using a css or scss file simply import it.

styles.scss

.myBlock {
background: red;
}

your-component.js

...
import './styles.scss';
...

<div className="myBlock">
Block with a red background
</div>