import * as Collapsible from '@radix-ui/react-collapsible'; import classnames from 'classnames'; import { LayoutGroup, motion } from 'framer-motion'; import Link from 'next/link'; import * as React from 'react'; import { Heading } from './heading'; import { Logo } from './logo'; type SidebarElement = React.ElementRef<'aside'>; type RootProps = React.ComponentPropsWithoutRef<'aside'>; interface SidebarProps extends RootProps { navItems: string[]; title?: string; } export const Sidebar = React.forwardRef>( ({ className, navItems, title, ...props }, forwardedRef) => { return ( ); }, ); Sidebar.displayName = 'Sidebar';