"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _context = require("./context");
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/WixStyleReactEnvironmentProvider/WixStyleReactEnvironmentProvider.tsx";
/** A wrapper component for an app to hold cross library global configuration such as locale, rtl and others */
var WixStyleReactEnvironmentProvider = _ref => {
  var {
    locale = 'en',
    pageHeaderId,
    children
  } = _ref;
  return /*#__PURE__*/_react.default.createElement(_context.WixStyleReactEnvironmentContext.Provider, {
    value: {
      locale,
      pageHeaderId
    },
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 12,
      columnNumber: 5
    }
  }, children);
};
WixStyleReactEnvironmentProvider.displayName = 'WixStyleReactEnvironmentProvider';
var _default = exports.default = WixStyleReactEnvironmentProvider;
//# sourceMappingURL=WixStyleReactEnvironmentProvider.js.map