trc-client-core
Version:
The core of the TRC Client
24 lines (22 loc) • 645 B
JSX
import React from 'react';
import Grid from 'trc-client-core/src/components/Grid';
import Col from 'trc-client-core/src/components/Col';
var DepartmentPage = React.createClass({
displayName: 'DepartmentPage',
propTypes: {
carousel: React.PropTypes.element,
sidebar: React.PropTypes.element
},
render() {
return (
<div>
{this.props.carousel}
<Grid>
<Col width={3}>{this.props.sidebar}</Col>
<Col>{this.props.children}</Col>
</Grid>
</div>
);
}
});
module.exports = DepartmentPage;