'use strict';

var React = require('react');
var index = require('../../common/locale/index.js');
var jsxRuntime = require('react/jsx-runtime');

const LanguageContext = /*#__PURE__*/React.createContext(index.DEFAULT_LOCALE);
const LanguageProvider = ({
  locale,
  children
}) => {
  return /*#__PURE__*/jsxRuntime.jsx(LanguageContext.Provider, {
    value: locale,
    children: children
  });
};

exports.LanguageContext = LanguageContext;
exports.LanguageProvider = LanguageProvider;
//# sourceMappingURL=LanguageProvider.js.map
