DEV Community

Oleksandr Sachuk
Oleksandr Sachuk

Posted on

How to style helperText in the TextField material-ui component

Add custom styles to the “material-ui” component may be a challenge sometimes.

For example, I need to add additional custom styles to the “TextField” component.

helperText

I tried different solutions and spent a lot of time to find the most simple one.

In the end, I found that it is a possible just pass “FormHelperTextProps” property with “className” key.

Hope, this solution saves you time!

Top comments (0)