import React from 'react' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { injectIntl, defineMessages } from 'react-intl' import { me } from '../initial_state' import SidebarSectionTitle from './sidebar_section_title' import SidebarSectionItem from './sidebar_section_item' import Heading from './heading' import BackButton from './back_button' import ResponsiveClassesComponent from '../features/ui/util/responsive_classes_component' const messages = defineMessages({ blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' }, mutes: { id: 'navigation_bar.mutes', defaultMessage: 'Muted users' }, preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' }, menu: { id: 'menu', defaultMessage: 'Menu' }, }) export default @injectIntl class AboutSidebar extends ImmutablePureComponent { static propTypes = { intl: PropTypes.object.isRequired, account: ImmutablePropTypes.map, title: PropTypes.string, items: PropTypes.array.isRequired, } render() { const { intl, title, items, } = this.props return (
{ me && } {title}
) } }