element-web/src/views/atoms/LogoutButton.js

15 lines
371 B
JavaScript
Raw Normal View History

var React = require('react');
var LogoutButtonController = require("../../controllers/atoms/LogoutButton");
module.exports = React.createClass({
displayName: 'LogoutButton',
mixins: [LogoutButtonController],
render: function() {
return (
<button className="mx_LogoutButton" onClick={this.onClick}>Sign out</button>
);
}
});