'use strict';

var reactI18next = require('react-i18next');

var withT = function withT(Component, options) {
  var namespace = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
  return reactI18next.withTranslation(namespace, options)(Component);
};

module.exports = withT;
//# sourceMappingURL=withT.js.map
