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

{t('extendedComponent')}

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