Skip to content

Commit

Permalink
Merge pull request #1397 from cozy/fix/OverlayPropTypes
Browse files Browse the repository at this point in the history
fix: Children is not mandatory for Overlay
probot-auto-merge[bot] authored Mar 4, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 101a4db + 414af1d commit 89b88a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/Overlay/index.jsx
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ class Overlay extends Component {

Overlay.propTypes = {
className: PropTypes.string,
children: PropTypes.node.isRequired,
children: PropTypes.node,
onEscape: PropTypes.func
}

0 comments on commit 89b88a0

Please sign in to comment.