Currently utilizing a material-table from https://material-table.com/.
An issue I am encountering is the inability to change the table's border-radius and shadow using the 'option feature'.
Upon inspecting the table, it appears that the radius and shadow can be modified as seen here:
https://i.sstatic.net/NVv7M.png
I am curious about how to override these values from Reactjs:
const useStyles = makeStyles(theme => ({
root: {
}
}));
const MainTable = props => {
const {className, params, ...rest} = props
(...)
return (
<MaterialTable
className={classes.MuiPaperRounded}
columns={[
{title: 'Equipement', field: 'equipement'},
{title: 'TAG', field: 'tag'},
{title: 'Nombre de points de mesures', field: 'nombreDePointsDeMesures'},
{title: 'Mesuré', field: 'mesure', type: 'boolean'}
]}
data={rows}
icons={(...)}
options={{
tableLayout: {backgroundColor: 'green'},
}}
title="Routine vibration"
/>
);
};