// @flow import React from 'react'; import { useTranslation } from 'react-i18next'; import { Text, View } from 'react-native'; import { Button } from 'react-native-paper'; import { LobbyParticipantItem } from './LobbyParticipantItem'; import { participants } from './participants'; import styles from './styles'; export const LobbyParticipantList = () => { const { t } = useTranslation(); return ( {t('participantsPane.headings.lobby', { count: participants.length })} { participants.map(p => ( ) )} ); };