'use strict';

var _tslib = require('./bundle-Cu2j1EmN.js');
var React = require('react');
var stringSet = require('./bundle-CrkUdg03.js');
var index = require('./bundle-DQG6eG4l.js');

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

exports.LocalizationContext = LocalizationContext;
exports.LocalizationProvider = LocalizationProvider;
exports.useLocalization = useLocalization;
//# sourceMappingURL=bundle-Bq4FcvTF.js.map
