comment currentlyActive
This commit is contained in:
parent
50e33d30b6
commit
6acfc8f508
2 changed files with 9 additions and 0 deletions
|
@ -38,6 +38,7 @@ module.exports = React.createClass({
|
|||
className: React.PropTypes.string,
|
||||
presenceState: React.PropTypes.string,
|
||||
presenceActiveAgo: React.PropTypes.number,
|
||||
currentlyActive: React.PropTypes.bool,
|
||||
showInviteButton: React.PropTypes.bool,
|
||||
shouldComponentUpdate: React.PropTypes.func,
|
||||
onClick: React.PropTypes.func,
|
||||
|
|
|
@ -25,7 +25,15 @@ module.exports = React.createClass({
|
|||
displayName: 'PresenceLabel',
|
||||
|
||||
propTypes: {
|
||||
// number of milliseconds ago this user was last active.
|
||||
// zero = unknown
|
||||
activeAgo: React.PropTypes.number,
|
||||
|
||||
// if true, activeAgo is an approximation and "Now" should
|
||||
// be shown instead
|
||||
currentlyActive: React.PropTypes.bool,
|
||||
|
||||
// offline, online, etc
|
||||
presenceState: React.PropTypes.string
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue