import React, { FunctionComponent } from 'react'; import { StyleSheet, TextStyle } from 'react-native'; import { IButtonProps, IStyledProps } from '../../../../common/types'; import { IP2PCall } from '../../../../../store/webrtc/types'; import Icon from 'react-native-vector-icons/Ionicons'; interface IProps extends IStyledProps<{ image?: any }>, IButtonProps { call: IP2PCall } export const AddVideoButtonView: FunctionComponent = ({ onPress, style, call }) => { style = { ...defaultStyle, ...style }; const iconStyle = { ...defaultStyle.image, ...style.image } const callIconName = (call.isLocalVideoEnabled ? 'videocam-outline' : 'videocam'); return ( ); }; const defaultStyle = StyleSheet.create({ image: { color: 'white', fontSize: 50, opacity: 1, }, });