import { useTranslation } from 'react-i18next' import { Anchor, Eye, Users } from 'lucide-react' import type { LogbookAccessRole } from '../services/logbook.js' interface LogbookRoleBadgeProps { role: LogbookAccessRole className?: string } export default function LogbookRoleBadge({ role, className = '' }: LogbookRoleBadgeProps) { const { t } = useTranslation() if (role === 'OWNER') { return ( ) } if (role === 'READ') { return ( ) } return ( ) }