1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Pass SimpleRoomHeader title in as a named property

... rather than a child
This commit is contained in:
Richard van der Hoff
2016-03-29 23:21:17 +01:00
parent 0d261c37c2
commit 1f2ba87ff5
3 changed files with 11 additions and 16 deletions

View File

@@ -331,9 +331,7 @@ module.exports = React.createClass({
return (
<div className="mx_UserSettings">
<SimpleRoomHeader>
Settings
</SimpleRoomHeader>
<SimpleRoomHeader title="Settings"/>
<GeminiScrollbar className="mx_UserSettings_body" autoshow={true}>