Just starting out with material UI. I have a css file that looks like this:
.bgItem {
font-size: 14px;
}
My component setup is as follows:
<MenuItem key={status.Id} value={status.Value} classes={css.bgItem}>
{status.Description}
</MenuItem>
I attempted to use classes={css.bgItem}
. I prefer not to use inline styles by creating an object of styles within the component itself, hence why I have a separate CSS file for this purpose.
Any assistance would be greatly appreciated!