theluyuan 38ba663466
Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
init
2025-09-02 14:49:16 +08:00

16 lines
460 B
TypeScript

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;