import { ChevronRight } from 'lucide-react' import Link from 'next/link' import React from 'react' import { cn } from 'ui' const MenuItem = React.forwardRef< React.ElementRef<'a'>, React.ComponentPropsWithoutRef<'a'> & { description?: string icon?: string hasChevron?: boolean hoverColor?: 'foreground' | 'brand' } >( ( { className, title, href = '', description, icon, hasChevron, children, hoverColor = 'foreground', ...props }, ref ) => { return ( {children ?? ( <> {icon && (
)}

{title}

{hasChevron && ( )}
{description && (

{description}

)}
)} ) } ) export default MenuItem