Skip to content

Conversation

@meirish
Copy link
Contributor

@meirish meirish commented Aug 17, 2015

I was getting Warning: Failed propType: Invalid propchildrensupplied toTabPanel. in development.

This eliminates prevents that error by adding array to the list of acceptable propTypes for children.

This eliminates an error in development mode when using more than a single node inside of TabPanel or Tab.
mzabriskie added a commit that referenced this pull request Aug 18, 2015
Add array to children propTypes
@mzabriskie mzabriskie merged commit 2317762 into reactjs:master Aug 18, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants