Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Do You Really Need react-css-modules?: Using classnames
import styles from './styles.css';
import classnames from 'classnames';
<div className={classnames(styles.localClass, 'global-class')}>Hi</div>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment