"use client";
import { menuVariants } from '@heroui/styles';
import React__default from 'react';
import { Menu } from 'react-aria-components';
import { jsx } from 'react/jsx-runtime';
import { composeTwRenderProps } from '../../utils/compose.js';

function MenuRoot({
  className,
  ...props
}) {
  const styles = React__default.useMemo(() => menuVariants(), []);
  return /*#__PURE__*/jsx(Menu, {
    className: composeTwRenderProps(className, styles),
    "data-slot": "menu",
    ...props
  });
}

export { MenuRoot };
