As a newcomer in the world of React, I am attempting to utilize MUI makeStyles to customize the existing styles. However, I have encountered an issue where setting fontWeight to 'bold' does not seem to work, even when using !important. Any suggestions or advice on this matter would be greatly appreciated.
import { makeStyles } from '@material-ui/core';
const tableStyle = makeStyles(() => ({
CustomTable:{
borderCollapse: 'separate',
borderSpacing: '0px 8px',
paddingInline: '8px',
},
CustomTableCell_1:{
backgroundColor: '#F7EDF4',
fontWeight: 'bold',
borderTopLeftRadius: '100px',
borderBottomLeftRadius: '100px',
paddingBlock: '16px',
paddingInline: '24px',
},
CustomTableCell_2:{
backgroundColor: '#F7EDF4',
borderTopRightRadius: '100px',
borderBottomRightRadius: '100px',
paddingBlock: '16px',
paddingInline: '24px',
},
}));
export default tableStyle;