import { SidebarItem, SidebarItemAvatarWrapper, SidebarItemTitle } from '@rocket.chat/fuselage'; import type { HTMLAttributes, ReactNode } from 'react'; export type NavBarSearchItemProps = { title: string; avatar: ReactNode; icon: ReactNode; actions?: ReactNode; href?: string; unread?: boolean; selected?: boolean; badges?: ReactNode; clickable?: boolean; } & Omit, 'is'>; const NavBarSearchItem = ({ icon, title, avatar, actions, unread, badges, ...props }: NavBarSearchItemProps) => { return ( {avatar && {avatar}} {icon && icon} {title} {badges && badges} {actions && actions} ); }; export default NavBarSearchItem;