In React-MDL, how can I style a TextField component as a <h1>
title?
One of its parameters is "style". Example usage: <TextField style={{width: '200px'}}/>
How can I make this text field be in the size (and font and whatever) of a <h1>
title?
My use case:
I have a page with headers and I want them to (sometimes) be editable, so I'm changing them into <TextField>
components, but I still want them to look mostly the same as they did when they were <h1>
headers.
Thanks!
Edit: I have a preference for using existing material classes/best-practices instead of, for example, making a new css class describing all the properties of a <h1>
header. What if material design changes? I'll have to update any such custom class that I wrote