Skip to content

Use PropTypes.node for children prop type#175

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

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

Conversation

@knowler

@knowler knowler commented Oct 7, 2020

Copy link
Copy Markdown

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