react-mdl icon indicating copy to clipboard operation
react-mdl copied to clipboard

Why does RadioGroup component only accepts Radio as children ?

Open JoaoMosmann opened this issue 8 years ago • 1 comments

I understand that is good to ensure that the RadioGroup only have Radios as children.

However, what if I want to have other inputs between the Radios, like a datepicker, a combobox, or a entire form.

JoaoMosmann avatar Oct 26 '16 16:10 JoaoMosmann

Currently, it will fail, because the RadioGroup is attaching custom props to every child. This would need to be redesigned to allow other child types.

tleunen avatar Oct 26 '16 20:10 tleunen