import React from 'react'; import { Aside } from '@custom/shared/components/Aside'; import Button from '@custom/shared/components/Button'; import { useCallState } from '@custom/shared/contexts/CallProvider'; import { useParticipants } from '@custom/shared/contexts/ParticipantsProvider'; import { useUIState } from '@custom/shared/contexts/UIStateProvider'; import { ReactComponent as IconCamOff } from '@custom/shared/icons/camera-off-sm.svg'; import { ReactComponent as IconCamOn } from '@custom/shared/icons/camera-on-sm.svg'; import { ReactComponent as IconMicOff } from '@custom/shared/icons/mic-off-sm.svg'; import { ReactComponent as IconMicOn } from '@custom/shared/icons/mic-on-sm.svg'; import PropTypes from 'prop-types'; import AsideHeader from '../App/AsideHeader'; export const PEOPLE_ASIDE = 'people'; const PersonRow = ({ participant, isOwner = false }) => (