import React from 'react'; import PropTypes from 'prop-types'; import Icon from 'soapbox/components/icon'; import { NavLink } from 'react-router-dom'; import { injectIntl, defineMessages } from 'react-intl'; const messages = defineMessages({ edit_profile: { id: 'account.edit_profile', defaultMessage: 'Edit Profile' }, preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' }, security: { id: 'navigation_bar.security', defaultMessage: 'Security' }, lists: { id: 'column.lists', defaultMessage: 'Lists' }, bookmarks: { id: 'column.bookmarks', defaultMessage: 'Bookmarks' }, }); export default @injectIntl class FeaturesPanel extends React.PureComponent { static propTypes = { intl: PropTypes.object.isRequired, }; render() { const { intl } = this.props; return (
{intl.formatMessage(messages.edit_profile)}
{intl.formatMessage(messages.bookmarks)}
{intl.formatMessage(messages.lists)}
{intl.formatMessage(messages.security)}
{intl.formatMessage(messages.preferences)}
); } }