From 7c74b0124bc44d68ec800aa536a8a7b9da2f4171 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 7 Sep 2016 15:43:29 +0100 Subject: [PATCH] explicit props for RightPanel at last --- src/components/structures/RightPanel.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index f83559c5..29747b98 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -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',