/* empty css                                               */
/* empty css                                                */
/* empty css                                                */
/* empty css                                               */
/* empty css                                               */
import { createBlock, openBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
import { Steps } from "../../../../node_modules/vant/es/steps/index.mjs";
import { Step } from "../../../../node_modules/vant/es/step/index.mjs";
const _sfc_main = {
  __name: "Steps",
  props: {
    options: {
      //步骤配置
      type: Array,
      default: []
    }
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_van_step = Step;
      const _component_van_steps = Steps;
      return openBlock(), createBlock(_component_van_steps, mergeProps(_ctx.$attrs, { direction: "horizontal" }), {
        default: withCtx(() => [
          (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (item) => {
            return openBlock(), createBlock(_component_van_step, null, {
              default: withCtx(() => [
                createTextVNode(toDisplayString(item.text), 1)
              ]),
              _: 2
            }, 1024);
          }), 256))
        ]),
        _: 1
      }, 16);
    };
  }
};
export {
  _sfc_main as default
};
