Files
wedding/src/components/Layout/Layout.js
Dan Head 6a7b57dbe4 Add Ceremony page with google map
Add nav bar to public pages
2017-03-01 23:28:26 +00:00

23 lines
503 B
JavaScript

import React, { PropTypes } from 'react';
import withStyles from 'isomorphic-style-loader/lib/withStyles';
import s from './Layout.css';
import Navigation from '../Navigation';
class Layout extends React.Component {
static propTypes = {
children: PropTypes.node.isRequired,
current: PropTypes.string,
};
render() {
return (
<div>
<Navigation current={this.props.current} />
{this.props.children}
</div>
);
}
}
export default withStyles(s)(Layout);