import {
  __objRest,
  __spreadProps,
  __spreadValues
} from "./chunk-CRTRMMJ7.js";

// src/atoms/dropdown-menu.tsx
import { DropdownMenu as RadixDropdownMenu } from "@radix-ui/themes";
import { forwardRef, useMemo } from "react";
import { jsx } from "react/jsx-runtime";
var Content = forwardRef((props, ref) => {
  const _a = props, { isNavigation, className } = _a, rest = __objRest(_a, ["isNavigation", "className"]);
  const contentClassName = useMemo(() => {
    const cls = isNavigation ? "dropdown-navigation" : "";
    return [cls, className].join(" ");
  }, [isNavigation, className]);
  return /* @__PURE__ */ jsx(
    RadixDropdownMenu.Content,
    __spreadProps(__spreadValues({
      ref
    }, rest), {
      className: contentClassName
    })
  );
});
Content.displayName = "DropdownMenu.Content";
var DropdownMenu = __spreadProps(__spreadValues({}, RadixDropdownMenu), {
  Content
});

export {
  DropdownMenu
};
//# sourceMappingURL=chunk-D4U2MCJG.js.map