"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useInjectSlots = exports.useProvideSlots = exports.ContextKey = void 0;

var _vue = require("vue");

var ContextKey = Symbol('ContextProps');
exports.ContextKey = ContextKey;

var useProvideSlots = function useProvideSlots(props) {
  (0, _vue.provide)(ContextKey, props);
};

exports.useProvideSlots = useProvideSlots;

var useInjectSlots = function useInjectSlots() {
  return (0, _vue.inject)(ContextKey, (0, _vue.computed)(function () {
    return {};
  }));
};

exports.useInjectSlots = useInjectSlots;