2015-06-09 16:40:42 +00:00
|
|
|
var React = require('react');
|
|
|
|
|
2015-06-19 11:53:48 +00:00
|
|
|
var RoomHeaderController = require("../../controllers/molecules/RoomHeader");
|
|
|
|
|
2015-06-09 16:40:42 +00:00
|
|
|
module.exports = React.createClass({
|
2015-06-19 15:21:09 +00:00
|
|
|
displayName: 'RoomHeader',
|
2015-06-19 11:53:48 +00:00
|
|
|
mixins: [RoomHeaderController],
|
|
|
|
|
2015-06-09 16:40:42 +00:00
|
|
|
render: function() {
|
|
|
|
return (
|
2015-06-12 16:34:17 +00:00
|
|
|
<div className="mx_RoomHeader">
|
|
|
|
{this.props.room.name}
|
2015-06-09 16:40:42 +00:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|