css modules react

CSS
import React, { Component } from 'react';import styles from './Button.module.css'; // Import css modules stylesheet as stylesimport './another-stylesheet.css'; // Import regular stylesheetclass Button extends Component {  render() {    // reference as a js object    return <button className={styles.error}>Error Button</button>;  }}Copy
Source

Also in CSS: