import React from 'react'; import { ImageStyle, Pressable, Text, View, ViewStyle } from 'react-native'; import { Strings } from '../../resources/localization/Strings'; import { IStyledProps } from '../common/types'; import { TelephonyIcon } from './TelephonyIcon'; import { NavigationProp } from '@react-navigation/native'; import { RootStackParamList } from '../../RootStackParamList'; interface ITelephonyViewProps extends IStyledProps { navigation: NavigationProp; } interface ITelephonyViewStyleProps { iconContainer?: ViewStyle; icon?: ImageStyle; container?: ViewStyle; } export const MenuTelephonyView: React.FunctionComponent = ({navigation}) => { const openTelephonySettings = () => { navigation.navigate('Telephony'); }; return ( {Strings.menuTelephonySettings} ); };