import { StylerType } from '../../types'; import { Avatar } from '../TwAvatar'; import { Button } from '../TwButton'; import { MicOffIcon, MicOnIcon } from '../Icons'; import React from 'react'; import { ParticipantListClasses } from './ParticipantProps'; interface PropsType { styler?: StylerType; name: string; isAudioEnabled?: boolean; } export const ParticipantInList = ({ styler = () => '', name, isAudioEnabled, }: PropsType) => { return (
{name}
{isAudioEnabled ? (
) : (
)}
); };