Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

Commit

Permalink
Make onDismiss required
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Burtchaell committed Jun 26, 2016
1 parent 82a0352 commit ca4e261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notificationStack.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const NotificationStack = props => {

NotificationStack.propTypes = {
notifications: PropTypes.array.isRequired,
onDismiss: PropTypes.func
onDismiss: PropTypes.func.isRequired
};

NotificationStack.defaultProps = {
Expand Down

0 comments on commit ca4e261

Please sign in to comment.