Pass SimpleRoomHeader topic in as a named prop

This commit is contained in:
Richard van der Hoff 2016-03-29 23:25:26 +01:00
parent cf0340c1c7
commit 851b601d2c
1 changed files with 1 additions and 3 deletions

View File

@ -183,9 +183,7 @@ module.exports = React.createClass({
var SimpleRoomHeader = sdk.getComponent('rooms.SimpleRoomHeader');
return (
<div className="mx_RoomDirectory">
<SimpleRoomHeader>
Directory
</SimpleRoomHeader>
<SimpleRoomHeader title="Directory" />
<div className="mx_RoomDirectory_list">
<input ref="roomAlias" placeholder="Join a room (e.g. #foo:domain.com)" className="mx_RoomDirectory_input" size="64" onKeyUp={ this.onKeyUp }/>
<GeminiScrollbar className="mx_RoomDirectory_tableWrapper">