2021-01-07 19:13:09 +01:00
|
|
|
import Button from '@components/Button'
|
|
|
|
import { useNavigation } from '@react-navigation/native'
|
|
|
|
import React from 'react'
|
2021-01-19 01:13:45 +01:00
|
|
|
import { useTranslation } from 'react-i18next'
|
2021-01-07 19:13:09 +01:00
|
|
|
|
|
|
|
const AccountInformationSwitch: React.FC = () => {
|
|
|
|
const navigation = useNavigation()
|
2021-01-19 01:13:45 +01:00
|
|
|
const { t } = useTranslation()
|
2021-01-07 19:13:09 +01:00
|
|
|
|
|
|
|
return (
|
|
|
|
<Button
|
|
|
|
type='text'
|
2021-01-19 01:13:45 +01:00
|
|
|
content={t('meSwitch:heading')}
|
2021-01-07 19:13:09 +01:00
|
|
|
onPress={() => navigation.navigate('Screen-Me-Switch')}
|
|
|
|
/>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default AccountInformationSwitch
|