import React from 'react' import { translate } from 'react-i18next' function MyComponent ({ t }) { return

{t('extendedComponent')}

} const Extended = translate('common')(MyComponent) export default Extended