import { createContext } from 'react';
import { DEFAULT_LOCALE } from '../../common/locale/index.mjs';
import { jsx } from 'react/jsx-runtime';

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

export { LanguageContext, LanguageProvider };
//# sourceMappingURL=LanguageProvider.mjs.map
