/** * Props for the PresenceIndicators component */ export interface PresenceIndicatorsProps { /** * Additional CSS classes to apply to the component's text element. * Merged with the component's default styling for customization. * Useful for adjusting text size, spacing, or alignment within parent layouts. */ className?: string; } /** * PresenceIndicators component displays human-readable text about room participant count * * Features: * - Automatic deduplication of participants by clientId (handles multiple connections) * - Smart color indication: green when participants present, gray when empty * - Proper singular/plural text formatting ("1 person" vs "N people") * - Accessible live region for screen reader announcements of presence changes * - Automatically updates when presence data changes * * @example * // Basic usage within RoomInfo component (actual usage) *