Is it possible to assign CSS classes directly to a React component? The reason is that I have all the CSS responsible for Products in SCSS file responsible for products, but margins I want to have in Store component and assign it directly to Products and all other components there. I'm using create-react-app configuration. Code:
import React from 'react';
import Products from "./Products";
function Store() {
return (
<div>
<Products className="store__products"/>
</div>
)
}
export default Store;