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, GroupSidebarPanel, GroupInfoPanel, } from '../features/ui/util/async_components' export default class GroupLayout extends ImmutablePureComponent { static propTypes = { actions: PropTypes.array, children: PropTypes.node, group: ImmutablePropTypes.map, groupId: PropTypes.string, isTimeline: PropTypes.bool, layout: PropTypes.object, relationships: ImmutablePropTypes.map, showBackBtn: PropTypes.bool, title: PropTypes.string, } render() { const { actions, children, group, groupId, isTimeline, relationships, showBackBtn, title, } = this.props return (
{children}
{children}
, SignUpPanel, GroupSidebarPanel, LinkFooter, ]} />
) } }