0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-16 23:22:40 +00:00

Package version is now loaded into the navbar

This commit is contained in:
Scott Tolksdorf
2016-08-20 12:02:48 -04:00
parent cd454e82ef
commit 62d70022e7
9 changed files with 51 additions and 25 deletions

View File

@@ -14,6 +14,7 @@ var HijackPrint = require('../hijackPrint.js');
var SharePage = React.createClass({
getDefaultProps: function() {
return {
ver : '0.0.0',
brew : {
title : '',
text : '',
@@ -34,7 +35,7 @@ var SharePage = React.createClass({
render : function(){
return <div className='sharePage page'>
<Navbar>
<Navbar ver={this.props.ver}>
<Nav.section>
<Nav.item className='brewTitle'>{this.props.brew.title}</Nav.item>
</Nav.section>