'use strict';

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

var vue = require('vue');
var useMenuContext = require('./hooks/useMenuContext.cjs');
var props = require('./props.cjs');

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

exports.default = ADivider;
//# sourceMappingURL=Divider.cjs.map
