// Reference > https://reactjs.org/docs/context.html
import React from 'react';
import {
withTranslation as I18NextWithTranslation,
I18nextProvider,
} from 'react-i18next';
import i18n from '@ohif/i18n';
const WrapperI18n = Component => {
const WrapperComponent = props => (
);
return WrapperComponent;
};
const withTranslation = namespace => Component => {
const TranslatedComponent = props => {
return ;
};
return WrapperI18n(I18NextWithTranslation(namespace)(TranslatedComponent));
};
export { withTranslation };
export default withTranslation;