Skip to content

The open alternative to Salesforce, designed for AI.

491 B
Raw Blame
import { Avatar } from 'twenty-ui/primitives/data-display';
import { type Recording } from '../../shared/types/Recording';

export const RecordingAvatar = ({ recording }: { recording: Recording }) => {
  const participant = recording.participants?.[0];
  return (
    <span aria-hidden="true">
      <Avatar
        src={participant?.avatarUrl}
        name={participant?.name ?? '?'}
        colorSeed={participant?.id}
        size="lg"
        shape="square"
      />
    </span>
  );
};