I have been working on a project using Material-UI and I am trying to change the default theme style of textTransform:"uppercase" to textTransform:"capitalize."
After checking out the documentation on custom styling, I learned that I should use inline styles or create a custom class.
Whether I add className="capitalize" (which has a text-transform property in the class) or add style={{textTransform: "capitalize"}}, I end up with the same result. The CSS property is applied to the parent div but gets overridden by a child span.
Is this the expected behavior, or am I missing something here?