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