import React from 'react'; import { StyleSheet, View, Text } from 'react-native'; import PropTypes from 'prop-types'; import { themes } from '../constants/colors'; import sharedStyles from '../views/Styles'; import { getReadableVersion } from '../utils/deviceInfo'; import I18n from '../i18n'; const styles = StyleSheet.create({ container: { alignItems: 'center', justifyContent: 'flex-end' }, text: { ...sharedStyles.textRegular, fontSize: 13 }, bold: { ...sharedStyles.textSemibold } }); const AppVersion = React.memo(({ theme }) => ( {I18n.t('Version_no', { version: '' })}{getReadableVersion} )); AppVersion.propTypes = { theme: PropTypes.string }; export default AppVersion;