explicit props for RightPanel at last

This commit is contained in:
Matthew Hodgson 2016-09-07 15:43:29 +01:00
parent aefef2ba56
commit 7c74b0124b

View File

@ -26,6 +26,12 @@ var rate_limited_func = require('matrix-react-sdk/lib/ratelimitedfunc');
module.exports = React.createClass({ module.exports = React.createClass({
displayName: 'RightPanel', 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 : { Phase : {
MemberList: 'MemberList', MemberList: 'MemberList',
FilePanel: 'FilePanel', FilePanel: 'FilePanel',