element-web/src/views/molecules/RoomHeader.js

18 lines
382 B
JavaScript
Raw Normal View History

var React = require('react');
var RoomHeaderController = require("../../controllers/molecules/RoomHeader");
module.exports = React.createClass({
displayName: 'RoomHeader',
mixins: [RoomHeaderController],
render: function() {
return (
<div className="mx_RoomHeader">
{this.props.room.name}
</div>
);
},
});