Import commun à utiliser dans tous les composants

pull/418/head
Mael 2018-11-01 17:25:46 +00:00 committed by Johan Girod
parent bd025cd62c
commit 625cb93acc
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import React from 'react'
import { Trans } from 'react-i18next'
let T = ({ children, k }) => <Trans i18nKey={k}>{children}</Trans>
export { React, T }