'use strict';

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

var vue = require('vue');
var _interface = require('../interface.cjs');
var DefaultPanel = require('./DefaultPanel.cjs');

const TourStep = /* @__PURE__ */ vue.defineComponent({
  name: "TourStep",
  inheritAttrs: false,
  props: _interface.tourStepProps(),
  setup(props, {
    attrs
  }) {
    return () => {
      const {
        current,
        renderPanel
      } = props;
      return vue.createVNode(vue.Fragment, null, [typeof renderPanel === "function" ? renderPanel({
        ...attrs,
        ...props
      }, current) : vue.createVNode(DefaultPanel.default, {
        ...attrs,
        ...props
      }, null)]);
    };
  }
});

exports.default = TourStep;
//# sourceMappingURL=index.cjs.map
