1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-12 23:45:57 +00:00
Files
homebrewery/client/admin/admin.jsx
Scott Tolksdorf ed1b5252be lint
2018-04-09 00:12:56 -04:00

39 lines
686 B
JavaScript

const React = require('react');
const _ = require('lodash');
const cx = require('classnames');
const HomebrewAdmin = require('./homebrewAdmin/homebrewAdmin.jsx');
const Admin = React.createClass({
getDefaultProps : function() {
return {
url : '',
admin_key : '',
homebrews : [],
};
},
render : function(){
return (
<div className='admin'>
<header>
<div className='container'>
<i className='fa fa-rocket' />
naturalcrit admin
</div>
</header>
<div className='container'>
<HomebrewAdmin homebrews={this.props.homebrews} admin_key={this.props.admin_key} />
</div>
</div>
);
}
});
module.exports = Admin;