import { defineComponent, createVNode, Fragment } from 'vue';
import { tourStepProps } from '../interface.mjs';
import DefaultPanel from './DefaultPanel.mjs';

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

export { TourStep as default };
//# sourceMappingURL=index.mjs.map
