UNPKG

mediasfu-reactnative-expo

Version:

mediasfu-reactnative-expo – Expo-managed React Native WebRTC SDK for video conferencing, webinars, live streaming, broadcast, screen sharing, whiteboard, chat, recording, live subtitles, translation, and AI agent rooms on iOS, Android, and web. Prebuilt r

17 lines 846 B
import React from 'react'; import VideoCard from '../../components/displayComponents/VideoCard'; import { getModernColors, resolveIsDarkMode } from '../core/modernTheme'; export const ModernVideoCard = (props) => { const colors = getModernColors(resolveIsDarkMode(props)); return (<VideoCard {...props} backgroundColor={!props.backgroundColor || props.backgroundColor === 'transparent' ? colors.mediaTile : props.backgroundColor} barColor={props.barColor ?? colors.accent} textColor={props.textColor ?? colors.invertedText} customStyle={[ { borderRadius: 16, borderWidth: 1, borderColor: colors.border, overflow: 'hidden', }, props.customStyle, ]}/>); }; export default ModernVideoCard; //# sourceMappingURL=ModernVideoCard.js.map