'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
require('../../../utils/index.cjs');
var props = require('../../../utils/vue/props.cjs');

const Item = ({
  setRef
}, {
  slots
}) => {
  var _a;
  const children = props.flattenChildren((_a = slots.default) == null ? void 0 : _a.call(slots));
  return children && children.length ? vue.cloneVNode(children[0], {
    ref: setRef
  }) : children;
};
Item.props = {
  setRef: {
    type: Function,
    default: () => {
    }
  }
};

exports.default = Item;
//# sourceMappingURL=Item.cjs.map
