Children are required

This commit is contained in:
Luke Barnard 2016-11-10 14:12:45 +00:00
parent 370f5f0a11
commit d6b74becfc

View file

@ -23,6 +23,8 @@ module.exports = React.createClass({
propTypes: { propTypes: {
// An array of member events to summarise // An array of member events to summarise
events: React.PropTypes.array.isRequired, events: React.PropTypes.array.isRequired,
// An array of EventTiles to render when expanded
children: 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