import { Image } from 'components/layout';
import { FC } from 'react';

export const Participant: FC<ParticipantProps> = ({ participant }) => {
  const { uri } = participant;
  return <Image flexGrow={1} source={{ uri }} />;
};

type ParticipantType = {
  id: string;
  uri: string;
  username: string;
};
interface ParticipantProps {
  participant: ParticipantType;
}
