Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

460 B
Raw Blame
import React from 'react';
import { Text } from 'react-native';
import { useSelector } from 'react-redux';

import { getParticipantCountForDisplay } from '../../../base/participants/functions';

import styles from './styles';

const ParticipantsCounter = () => {
    const participantsCount = useSelector(getParticipantCountForDisplay);

    return <Text style = { styles.participantsBadge }>{participantsCount}</Text>;
};

export default ParticipantsCounter;