Skip to content

Use PropTypes.node for children prop type#175

Open
knowler wants to merge 3 commits intoryanseddon:masterfrom
knowler:patch-1
Open

Use PropTypes.node for children prop type#175
knowler wants to merge 3 commits intoryanseddon:masterfrom
knowler:patch-1

Conversation

@knowler
Copy link

@knowler knowler commented Oct 7, 2020

I think that the node prop type is a better choice for the children prop type here, since it includes anything that is renderable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants