Add a suitable overflow tile for the member list

This commit is contained in:
Kegan Dougal 2016-01-21 11:41:28 +00:00
parent 9f362e488c
commit eed83f982e
3 changed files with 26 additions and 7 deletions

View file

@ -19,8 +19,12 @@ module.exports = React.createClass({
displayName: 'TruncatedList',
propTypes: {
// The number of elements to show before truncating
truncateAt: React.PropTypes.number,
// The className to apply to the wrapping div
className: React.PropTypes.string,
// A function which will be invoked when an overflow element is required.
// This will be inserted after the children.
createOverflowElement: React.PropTypes.func
},