2019-02-27 07:36:40 -05:00
|
|
|
import React from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
import ColumnHeader from '../../../components/column_header';
|
2019-02-27 07:38:27 -05:00
|
|
|
import { injectIntl, defineMessages } from 'react-intl';
|
2019-02-27 07:36:40 -05:00
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
profile: { id: 'column_header.profile', defaultMessage: 'Profile' },
|
|
|
|
});
|
|
|
|
|
|
|
|
export default @injectIntl
|
|
|
|
class ProfileColumnHeader extends React.PureComponent {
|
|
|
|
|
|
|
|
static propTypes = {
|
|
|
|
intl: PropTypes.object.isRequired,
|
|
|
|
};
|
|
|
|
|
|
|
|
render() {
|
|
|
|
const { intl } = this.props;
|
|
|
|
|
|
|
|
return (
|
|
|
|
<ColumnHeader
|
|
|
|
icon='user-circle'
|
|
|
|
title={intl.formatMessage(messages.profile)}
|
|
|
|
showBackButton
|
2019-02-27 07:38:27 -05:00
|
|
|
/>
|
|
|
|
);
|
2019-02-27 07:36:40 -05:00
|
|
|
}
|
2019-02-27 07:38:27 -05:00
|
|
|
|
2019-02-27 07:36:40 -05:00
|
|
|
}
|