import React from 'react' import Link from 'next/link' import PureComponent from '../components/PureComponent' import ExtendedComponent from '../components/ExtendedComponent' import ComponentWithTrans from '../components/ComponentWithTrans' import { withI18next } from '../lib/withI18next' const Test = ({ t }) => (

{t('welcome')}

{t('common:integrates_react-i18next')}

{t('sample_test')}

{t('link.gotoPage2')}
{t('link.gotoPage3')}
) export default withI18next(['home', 'common'])(Test)