Signed-off-by: Thibaut Girka <thib@sitedethib.com>th-downstream
parent
2a7690601a
commit
f01d004a1a
@ -0,0 +1,29 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import PropTypes from 'prop-types';
|
||||||
|
import ColumnHeader from '../../../components/column_header';
|
||||||
|
import { FormattedMessage, injectIntl, defineMessages } from 'react-intl';
|
||||||
|
|
||||||
|
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
|
||||||
|
>
|
||||||
|
</ColumnHeader>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue