mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-14 21:18:44 +00:00
20 lines
453 B
React
20 lines
453 B
React
import './uiPage.less';
|
|
import React from 'react';
|
|
import createReactClass from 'create-react-class';
|
|
import Navbar from '../../../navbar/navbar.jsx';
|
|
|
|
const UIPage = createReactClass({
|
|
displayName : 'UIPage',
|
|
|
|
render : function(){
|
|
return <div className='uiPage sitePage'>
|
|
<Navbar pageName={this.props.pageName} title={this.props.title} />
|
|
<div className='content'>
|
|
{this.props.children}
|
|
</div>
|
|
</div>;
|
|
}
|
|
});
|
|
|
|
export default UIPage;
|