mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-06 20:52:40 +00:00
setup test file with phantomjs, no luck though
This commit is contained in:
14
client/homebrew/phb/phbPage/phbPage.jsx
Normal file
14
client/homebrew/phb/phbPage/phbPage.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
var React = require('react');
|
||||
|
||||
var PhbPage = React.createClass({
|
||||
getDefaultProps: function() {
|
||||
return {
|
||||
content : ""
|
||||
};
|
||||
},
|
||||
render : function(){
|
||||
return <div className='phb' dangerouslySetInnerHTML={{__html:this.props.content}} />
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = PhbPage;
|
||||
Reference in New Issue
Block a user