import React from 'react'; import { Image, Text, View } from 'react-native'; import { User } from 'lucide-react-native'; import { sharingPanelStyles as localStyles } from './sharingPanelStyles'; import { themedColor } from '../../theme'; import type { SuperagentCollaborator } from '../../types'; export function CollaboratorRow({collaborator}: {collaborator: SuperagentCollaborator}) { const displayName = collaborator.full_name || collaborator.email.split('@')[0] || collaborator.email; return ( {collaborator.profile_image_url && !collaborator.is_pending ? ( ) : ( )} {displayName} {collaborator.is_owner ? Owner : null} {collaborator.is_pending ? Pending : null} {collaborator.email} ); }