import { FC } from 'react'; import { Container } from 'components/layout'; import { useResponsiveLayout } from 'hooks'; import { ResizeMode, Video } from 'expo-av'; import { metrics } from 'config'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { Action } from 'components/calling/action'; import { Floating } from '../floating'; const { STYLES } = metrics; export const Direct: FC = ({ participants }) => { const { width, height } = useResponsiveLayout(); const topAvoid = STYLES.topBarHeight * 2; const onScreenHeight = height - topAvoid; const { bottom } = useSafeAreaInsets(); const marginBottom = bottom + 10; return ( ); }; type ParticipantType = { id: string; uri: string; username: string; }; interface ParticipantsProps { participants: ParticipantType[]; }