"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
Object.defineProperty(exports, "Fill", {
  enumerable: true,
  get: function () {
    return _fill.default;
  }
});
Object.defineProperty(exports, "Provider", {
  enumerable: true,
  get: function () {
    return _provider.default;
  }
});
exports.Slot = Slot;
exports.createSlotFill = createSlotFill;
var _slot = _interopRequireDefault(require("./slot"));
var _fill = _interopRequireDefault(require("./fill"));
var _provider = _interopRequireDefault(require("./provider"));
var _jsxRuntime = require("react/jsx-runtime");
/**
 * Internal dependencies
 */

function Slot({
  bubblesVirtually,
  ...restProps
}) {
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_slot.default, {
    ...restProps
  });
}
function createSlotFill(name) {
  const FillComponent = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_fill.default, {
    name: name,
    ...props
  });
  FillComponent.displayName = name + 'Fill';
  const SlotComponent = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(Slot, {
    name: name,
    ...props
  });
  SlotComponent.displayName = name + 'Slot';
  return {
    Fill: FillComponent,
    Slot: SlotComponent
  };
}
//# sourceMappingURL=index.native.js.map