explicit props for RightPanel at last

pull/2113/head
Matthew Hodgson 2016-09-07 15:43:29 +01:00
parent aefef2ba56
commit 7c74b0124b
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,12 @@ var rate_limited_func = require('matrix-react-sdk/lib/ratelimitedfunc');
module.exports = React.createClass({
displayName: 'RightPanel',
propTypes: {
userId: React.PropTypes.string, // if showing an orphaned MemberInfo page, this is set
roomId: React.PropTypes.string, // if showing panels for a given room, this is set
collapsed: React.PropTypes.bool,
},
Phase : {
MemberList: 'MemberList',
FilePanel: 'FilePanel',