import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import Sticky from 'react-stickynode' import Layout from './layout' import GroupHeader from '../components/group_header' export default class GroupLayout extends ImmutablePureComponent { static propTypes = { actions: PropTypes.array, group: ImmutablePropTypes.map, relationships: ImmutablePropTypes.map, layout: PropTypes.object, showBackBtn: PropTypes.bool, } render() { const { group, children, layout, showBackBtn, actions, relationships, } = this.props const title = !!group ? group.get('title') : undefined return (
{children}
{layout}
) } }