When applying style to the classes attribute using the root key, it can't work since the component create an h2 tag internaly with a black color (the color injected thought the root key is applied to its parent).
When injecting a color to the DialogTitle component (though the classes.root property or a JSS className), i need it to not be overrided.
When injecting a color to the DialogTitle component (though the classes.root property or a JSS className), it is applied to the parent but an h2 tag with a black color overrides it.
| Tech | Version |
|--------------|---------|
| Material-UI | v1.0.0 |
You can use the disableTypography property and provide your own.
I missed this attribute ! Thanks !
Thank you. I was also facing the same problem. disableTypography attribute resolved it.
Most helpful comment
You can use the
disableTypographyproperty and provide your own.