gcanti / tcomb-form

Forms library for react
https://gcanti.github.io/tcomb-form
MIT License
1.16k stars 136 forks source link

What to do with className? What is it for? #417

Open arnoldbird opened 6 years ago

arnoldbird commented 6 years ago

I see it's possible to set a className in attrs: https://github.com/gcanti/tcomb-form/blob/master/GUIDE.md#styling

But what for? What does one then do with that className? Can it be used to style the input? If so, how?

Ankcorn commented 5 years ago

The class name will apply a CSS attribute the field in the form. This can then be styled from a CSS style sheet.