"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
require("react");
require("clsx");
const useProps = require("../../../core/MantineProvider/use-props/use-props.cjs");
const Box = require("../../../core/Box/Box.cjs");
const factory = require("../../../core/factory/factory.cjs");
const Menu_context = require("../Menu.context.cjs");
const Menu_module_css = require("../Menu.module.css.cjs");
const defaultProps = {};
const MenuDivider = factory.factory((props, ref) => {
  const { classNames, className, style, styles, vars, ...others } = useProps.useProps(
    "MenuDivider",
    defaultProps,
    props
  );
  const ctx = Menu_context.useMenuContext();
  return /* @__PURE__ */ jsxRuntime.jsx(
    Box.Box,
    {
      ref,
      ...ctx.getStyles("divider", { className, style, styles, classNames }),
      ...others
    }
  );
});
MenuDivider.classes = Menu_module_css.default;
MenuDivider.displayName = "@mantine/core/MenuDivider";
exports.MenuDivider = MenuDivider;
