How can you customize the dimensions of the header in a Material-UI table, such as height and width?
<TableHead >
<TableRow >
<TableCell hover>Dessert (100g serving)</TableCell>
<TableCell align="right">Calories</TableCell>
<TableCell align="right">Fat (g)</TableCell>
<TableCell align="right">Carbs (g)</TableCell>
<TableCell align="right">Protein (g)</TableCell>
</TableRow>
</TableHead>
I attempted to set the height using
sx={{ height:'20px' }}
,
but it did not adjust the height as desired.