Sha256: bc6f773b5a14691d30d64a12a9b350b3d53b6c6c8261867e15f2e12802f446c1
Contents?: true
Size: 774 Bytes
Versions: 7
Compression:
Stored size: 774 Bytes
Contents
var React = require('react'); var Mui = require('material-ui'); var Paper = Mui.Paper; var RaisedButton = Mui.RaisedButton; var NutellaMixin = require('./NutellaMixin'); var Footer = React.createClass({ mixins: [NutellaMixin], handleLogoutAll: function() { // #LOG action this.logAction('logoutAll', {}); nutella.net.publish('logout/all', ''); }, render: function () { var footerStyle = { height: (window.innerHeight * 0.1) }; return ( <div className='footer' style={footerStyle}> <RaisedButton className='logout-button' label='Logout All' primary={true} onTouchTap={this.handleLogoutAll} /> </div> ); } }); module.exports = Footer;
Version data entries
7 entries across 7 versions & 1 rubygems