0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 01:22:44 +00:00

Edit and sharing should be working, deploying for testing

This commit is contained in:
Scott Tolksdorf
2015-12-20 14:21:25 -05:00
parent ef7a500940
commit 8a4d840717
7 changed files with 175 additions and 39 deletions

View File

@@ -2,13 +2,27 @@ var React = require('react');
var _ = require('lodash');
var cx = require('classnames');
var PHB = require('../phb/phb.jsx');
var SharePage = React.createClass({
getDefaultProps: function() {
return {
id : null,
entry : {
text : "",
shareId : null,
editId : null,
createdAt : null,
updatedAt : null,
}
};
},
render : function(){
var self = this;
console.log(this.props.entry);
return(
<div className='sharePage'>
SharePage Ready!
<PHB text={this.props.entry.text} />
</div>
);
}