import clsx from "clsx";
import {
Menu,
MenuItem,
type MenuItemProps,
MenuTrigger,
Popover,
} from "react-aria-components";
import { Image } from "../Image";
import styles from "./Menu.module.css";
interface SendouMenuProps {
trigger: React.ReactNode;
scrolling?: boolean;
opensLeft?: boolean;
children: React.ReactNode;
}
export function SendouMenu({
children,
trigger,
opensLeft,
scrolling,
}: SendouMenuProps) {
return (
{trigger}
);
}
export interface SendouMenuItemProps extends MenuItemProps {
icon?: React.ReactNode;
imagePath?: string;
isActive?: boolean;
}
export function SendouMenuItem(props: SendouMenuItemProps) {
const textValue =
props.textValue ??
(typeof props.children === "string" ? props.children : undefined);
return (
);
}