ConsenSysMesh / rimble-ui

React components that implement Rimble's Design System.
https://rimble.consensys.design/
MIT License
462 stars 67 forks source link

fix: Field supports array of Radio elements #433

Closed simonas-notcat closed 4 months ago

simonas-notcat commented 4 years ago

Without this fix I get this error:

Warning: Failed prop type: Invalid prop `children` of type `array` supplied to `Field`, expected a single ReactElement.
netlify[bot] commented 4 years ago

Deploy preview for rimble-ui-storybook ready!

Built with commit c0c53b2b35765d7252dafb9e4aa10cb09d18900f

https://deploy-preview-433--rimble-ui-storybook.netlify.com

gesquinca commented 4 years ago

@simonas-notcat Thank you for addressing this! I'll review and get it into out next release soon.