Children are required

pull/21833/head
Luke Barnard 2016-11-10 14:12:45 +00:00
parent 370f5f0a11
commit d6b74becfc
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ module.exports = React.createClass({
propTypes: {
// An array of member events to summarise
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
summaryLength: React.PropTypes.number,
// The maximum number of avatars to display in the summary