Here is My Code
import { withStyles, MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
import classNames from 'classnames';
const styles = theme => ({
myGridStyle:{
'&:.my-row-selected':{
backgroundColor:"#ff9900 !important"
}
},
});
<div className={myGridStyle}>
<div role="row" class="my-row-selected" style="height: 30px;"></div>
</div>
I am using non material ui component for grid I want to apply style through Material UI withstyle and theme, so I have added withStyle for my parent div and i want to apply style for child div and child CSS classes.