Open okbel opened 8 years ago
They should already support it, do you have an example of a component which doesn't support it?
Sure. CheckBox renders a label tag and an input tag.
When I use a style attr in a Checkbox Component the style goes to input. I need access to the parent label tag
Good point, I forgot about that.
It's hard to fix before v2 though. In the end, component should have a custom inputProps
instead of applying all props on the input instead of the root element :/
I think every Component should support the style attibute in case we want to add inline styles. i.e Radium