mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 20:42:44 +00:00
Added the new pages and router
This commit is contained in:
25
client/homebrew/editPage/editPage.jsx
Normal file
25
client/homebrew/editPage/editPage.jsx
Normal file
@@ -0,0 +1,25 @@
|
||||
var React = require('react');
|
||||
var _ = require('lodash');
|
||||
var cx = require('classnames');
|
||||
|
||||
var EditPage = React.createClass({
|
||||
getDefaultProps: function() {
|
||||
return {
|
||||
text : "",
|
||||
id : null
|
||||
};
|
||||
},
|
||||
|
||||
render : function(){
|
||||
var self = this;
|
||||
return(
|
||||
<div className='editPage'>
|
||||
{this.props.id}
|
||||
EditPage Ready!
|
||||
{this.props.text}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = EditPage;
|
||||
Reference in New Issue
Block a user