This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import * as reactI18next from 'react-i18next'; | |
export const translate = () => Component => props => <Component t={() => ''} {...props} />; | |
export const I18n = reactI18next.I18n; | |
export const Interpolate = reactI18next.Interpolate; | |
export const Trans = reactI18next.Trans; | |
export const I18nextProvider = reactI18next.I18nextProvider; | |
export const loadNamespaces = reactI18next.loadNamespaces; | |
export const reactI18nextModule = reactI18next.reactI18nextModule; |