TableCell not accepting className properly #29016
Labels
component: table
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
v5.x migration
Current Behavior 😯
TableCell
is not correctly accepting className, as it is not applying the CSS given there properly.Expected Behavior 🤔
TableCell
should apply className correctly and apply the CSS from there, such asfont-family
correctly.Steps to Reproduce 🕹
Steps:
Table
,TableHead
,TableBody
and place in some data usingTableCell
className
property to theTableCell
in attempt to style itstyle
propclassName
method is not working, but thestyle
prop is.Example is here
Context 🔦
I am trying to create a table and style the table cells. This is not working for some reason, the styles seem to be being overridden from the base TableCell class.
Your Environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: