import { useTheme } from 'next-themes' import s from './DropdownMenu.module.css' import { FC } from 'react' import { FocusScope } from '@react-aria/focus' import { useOverlay, DismissButton, usePreventScroll, } from '@react-aria/overlays' import Link from 'next/link' import cn from 'classnames' interface DropdownMenuProps { onClose: () => void innerRef: React.MutableRefObject } const DropdownMenu: FC = ({ onClose, children, innerRef, ...props }) => { const { theme, setTheme } = useTheme() let { overlayProps } = useOverlay( { isDismissable: true, onClose: onClose, isOpen: true, }, innerRef ) usePreventScroll() return (
{/* Needed placeholder for User Interation*/}
) } export default DropdownMenu