import { defineComponent, computed, createVNode } from 'vue';
import { useInjectMenu } from './hooks/useMenuContext.mjs';
import { menuDividerProps } from './props.mjs';

var ADivider = /* @__PURE__ */ defineComponent({
  compatConfig: {
    MODE: 3
  },
  name: "AMenuDivider",
  props: menuDividerProps(),
  setup(props) {
    const {
      prefixCls
    } = useInjectMenu();
    const cls = computed(() => {
      return {
        [`${prefixCls.value}-item-divider`]: true,
        [`${prefixCls.value}-item-divider-dashed`]: !!props.dashed
      };
    });
    return () => {
      return createVNode("li", {
        "class": cls.value
      }, null);
    };
  }
});

export { ADivider as default };
//# sourceMappingURL=Divider.mjs.map
