import React from 'react' import PropTypes from 'prop-types' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import Sticky from 'react-stickynode' import { BREAKPOINT_EXTRA_SMALL } from '../constants' import Layout from './layout' import GroupHeader from '../components/group_header' import SidebarPanelGroup from '../components/sidebar_panel_group' import Responsive from '../features/ui/util/responsive_component' import WrappedBundle from '../features/ui/util/wrapped_bundle' import { LinkFooter, SignUpPanel, GroupsPanel, GroupInfoPanel, } from '../features/ui/util/async_components' class GroupLayout extends ImmutablePureComponent { render() { const { children, group, groupId, relationships, title, } = this.props return (
{children}
{children}
, SignUpPanel, GroupsPanel, LinkFooter, ]} />
) } } GroupLayout.propTypes = { children: PropTypes.node, group: ImmutablePropTypes.map, groupId: PropTypes.string, relationships: ImmutablePropTypes.map, title: PropTypes.string, } export default GroupLayout