mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Pass SimpleRoomHeader topic in as a named prop
This commit is contained in:
parent
cf0340c1c7
commit
851b601d2c
@ -183,9 +183,7 @@ module.exports = React.createClass({
|
|||||||
var SimpleRoomHeader = sdk.getComponent('rooms.SimpleRoomHeader');
|
var SimpleRoomHeader = sdk.getComponent('rooms.SimpleRoomHeader');
|
||||||
return (
|
return (
|
||||||
<div className="mx_RoomDirectory">
|
<div className="mx_RoomDirectory">
|
||||||
<SimpleRoomHeader>
|
<SimpleRoomHeader title="Directory" />
|
||||||
Directory
|
|
||||||
</SimpleRoomHeader>
|
|
||||||
<div className="mx_RoomDirectory_list">
|
<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 }/>
|
<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">
|
<GeminiScrollbar className="mx_RoomDirectory_tableWrapper">
|
||||||
|
Loading…
Reference in New Issue
Block a user