Sha256: 02c0a0047023ae0265dda98056e61649f58296af95819175b769fb09e25ee51d
Contents?: true
Size: 636 Bytes
Versions: 15
Compression:
Stored size: 636 Bytes
Contents
var React = require('react'); var Mui = require('material-ui'); var Paper = Mui.Paper; var RaisedButton = Mui.RaisedButton; var Footer = React.createClass({ handleLogoutAll: function() { 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
15 entries across 15 versions & 1 rubygems