rsnext/examples/with-lingui/pages/two.js

15 lines
235 B
JavaScript
Raw Normal View History

2019-02-21 12:53:02 +01:00
import { Trans } from '@lingui/macro'
import Link from 'next/link'
2019-02-21 12:53:02 +01:00
const Two = () => (
2019-02-21 12:53:02 +01:00
<div>
<Trans>Page two.</Trans>{' '}
<Link href="/">
<Trans>Back home</Trans>
</Link>
2019-02-21 12:53:02 +01:00
<br />
</div>
)
2019-02-21 12:53:02 +01:00
export default Two