import classNames from 'classnames'; import { Menu, Item } from 'react-basics'; import { usePathname } from 'next/navigation'; import Link from 'next/link'; import styles from './SideNav.module.css'; export interface SideNavProps { selectedKey: string; items: any[]; shallow?: boolean; scroll?: boolean; className?: string; onSelect?: () => void; } export function SideNav({ selectedKey, items, shallow = true, scroll = false, className, onSelect = () => {}, }: SideNavProps) { const pathname = usePathname(); return ( {({ key, label, url }) => ( {label} )} ); } export default SideNav;