import React , { FC } from 'react' ; import { Text , View } from 'react-native' ; import VersionNumber from 'react-native-version-number' ; import env from '@env' ; import styles from './styles' ; const EnvInfoView = ( ) => { return ( < View > { } < Text style = { styles . infoText } > { `ENV: ${ env . ENV }` } < /Text> < Text style = { styles . infoText } > { `v.${ VersionNumber . appVersion }-${ VersionNumber . buildVersion }` } < /Text> < /View>); } ; export default EnvInfoView ;