i have a div in my react component and im importing some class name from a class css file, but the class name is not getting integrated to the main
To use class names like an object you need to do 2 things:
import * as classes from './Layout.css';
Example for Typescript - create Layout.css.d.ts file with export const Content: string;
Be sure that you define camelCase
option for css-loader
to resolve dash-classes into camel-case properties that you define in Layout.css.d.ts.