1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-18 09:22:18 +03:00

add collapsedRhs to propTypes

This commit is contained in:
Bruno Windels
2018-12-18 10:34:26 +01:00
parent b7c353d0a6
commit f6727c5724
2 changed files with 6 additions and 1 deletions

View File

@ -62,7 +62,7 @@ const LoggedInView = React.createClass({
// Called with the credentials of a registered user (if they were a ROU that // Called with the credentials of a registered user (if they were a ROU that
// transitioned to PWLU) // transitioned to PWLU)
onRegistered: PropTypes.func, onRegistered: PropTypes.func,
collapsedRhs: PropTypes.bool,
teamToken: PropTypes.string, teamToken: PropTypes.string,
// Used by the RoomView to handle joining rooms // Used by the RoomView to handle joining rooms

View File

@ -18,6 +18,7 @@ limitations under the License.
*/ */
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types';
import dis from '../../../dispatcher'; import dis from '../../../dispatcher';
export default class HeaderButtons extends React.Component { export default class HeaderButtons extends React.Component {
@ -77,3 +78,7 @@ export default class HeaderButtons extends React.Component {
</div>; </div>;
} }
} }
HeaderButtons.propTypes = {
collapsedRhs: PropTypes.bool,
};