Add a suitable overflow tile for the member list
This commit is contained in:
parent
9f362e488c
commit
eed83f982e
3 changed files with 26 additions and 7 deletions
|
@ -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
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue