import { _ as __assign } from './bundle-B9I7KCZ2.js';
import React__default from 'react';
import { g as getStringSet } from './bundle-BwafidOs.js';
import { d as defaultLocale } from './bundle-CMgJTzYH.js';

var LocalizationContextDefault = {
    stringSet: getStringSet('en'),
    dateLocale: defaultLocale,
};
var LocalizationContext = React__default.createContext(LocalizationContextDefault);
var LocalizationProvider = function (props) {
    var children = props.children;
    return React__default.createElement(LocalizationContext.Provider, { value: __assign(__assign({}, LocalizationContextDefault), props) }, children);
};
var useLocalization = function () { return React__default.useContext(LocalizationContext); };

export { LocalizationContext as L, LocalizationProvider as a, useLocalization as u };
//# sourceMappingURL=bundle-BPLoGpIy.js.map
