import React from 'react' import { translate } from 'react-i18next' class Post extends React.Component { constructor (props) { super(props) this.t = props.t } render () { return (
{this.t('namespace1:greatMorning')}
) } } export default translate(['namespace1'])(Post)