0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 14:22:52 +00:00
Files
homebrewery/client/homebrew/pages/userPage/userPage.jsx
2016-11-23 23:59:57 -05:00

36 lines
651 B
JavaScript

const React = require('react');
const _ = require('lodash');
const cx = require('classnames');
const Nav = require('naturalcrit/nav/nav.jsx');
const Navbar = require('../../navbar/navbar.jsx');
const UserPage = React.createClass({
getDefaultProps: function() {
return {
username : '',
brews : []
};
},
render : function(){
console.log(this.props.brews);
return <div className='userPage page'>
<Navbar>
<Nav.section>
holla
</Nav.section>
</Navbar>
<div className='content'>
<div className='phb'>
<h1>{this.props.username}</h1>
</div>
</div>
</div>
}
});
module.exports = UserPage;