2015-06-09 18:40:42 +02:00
|
|
|
var React = require('react');
|
|
|
|
|
2015-06-19 13:53:48 +02:00
|
|
|
var ComponentBroker = require('../../ComponentBroker');
|
2015-06-17 17:43:29 +02:00
|
|
|
|
|
|
|
var LogoutButton = ComponentBroker.get("atoms/LogoutButton");
|
2015-06-12 18:34:17 +02:00
|
|
|
|
2015-06-19 13:53:48 +02:00
|
|
|
var MatrixToolbarController = require("../../controllers/molecules/MatrixToolbar");
|
|
|
|
|
2015-06-09 18:40:42 +02:00
|
|
|
module.exports = React.createClass({
|
2015-06-19 17:21:09 +02:00
|
|
|
displayName: 'MatrixToolbar',
|
2015-06-19 13:53:48 +02:00
|
|
|
mixins: [MatrixToolbarController],
|
|
|
|
|
2015-06-09 18:40:42 +02:00
|
|
|
render: function() {
|
|
|
|
return (
|
2015-06-12 18:34:17 +02:00
|
|
|
<div className="mx_MatrixToolbar">
|
|
|
|
<LogoutButton />
|
2015-06-09 18:40:42 +02:00
|
|
|
</div>
|
|
|
|
);
|
2015-06-12 18:34:17 +02:00
|
|
|
}
|
2015-06-09 18:40:42 +02:00
|
|
|
});
|
|
|
|
|