import React, { ReactNode } from 'react'; import { Box } from './primitives/Box'; import { Text } from './Text'; import { Icon } from './Icon'; import { LucideIcon, ChevronRight } from 'lucide-react'; export interface SidebarItemProps { children: ReactNode; onClick?: () => void; icon?: ReactNode; } export const SidebarItem = ({ children, onClick, icon }: SidebarItemProps) => { return ( {icon && ( {icon} )} {children} ); };