events are required

This commit is contained in:
Luke Barnard 2016-11-10 14:09:40 +00:00
parent dcbb31279f
commit 8422017827

View file

@ -22,7 +22,7 @@ module.exports = React.createClass({
propTypes: { propTypes: {
// An array of member events to summarise // An array of member events to summarise
events: React.PropTypes.array, events: React.PropTypes.array.isRequired,
// The maximum number of names to show in either the join or leave summaries // The maximum number of names to show in either the join or leave summaries
summaryLength: React.PropTypes.number, summaryLength: React.PropTypes.number,
// The maximum number of avatars to display in the summary // The maximum number of avatars to display in the summary