Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
[Docs] PropTypes.node: add link to react docs
Browse files Browse the repository at this point in the history
Fixes #154.
  • Loading branch information
ljharb committed Feb 21, 2019
1 parent c38ec30 commit 604da17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ MyComponent.propTypes = {

// Anything that can be rendered: numbers, strings, elements or an array
// (or fragment) containing these types.
// see https://reactjs.org/docs/rendering-elements.html for more info
optionalNode: PropTypes.node,

// A React element (ie. <MyComponent />).
Expand Down

0 comments on commit 604da17

Please sign in to comment.