"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.BulkSelectionConsumer = void 0;
var _react = _interopRequireDefault(require("react"));
var _BulkSelection = require("./BulkSelection");
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/Table/BulkSelection/BulkSelectionConsumer.jsx",
  _this = void 0;
var BulkSelectionConsumer = exports.BulkSelectionConsumer = function BulkSelectionConsumer(_ref) {
  var _ref$consumerCompName = _ref.consumerCompName,
    consumerCompName = _ref$consumerCompName === void 0 ? 'BulkSelectionConsumer' : _ref$consumerCompName,
    _ref$providerCompName = _ref.providerCompName,
    providerCompName = _ref$providerCompName === void 0 ? 'BulkSelection' : _ref$providerCompName,
    children = _ref.children;
  return /*#__PURE__*/_react["default"].createElement(_BulkSelection.BulkSelectionContext.Consumer, {
    __self: _this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 10,
      columnNumber: 5
    }
  }, function (context) {
    return children(context);
  });
};