mirror of https://github.com/tooot-app/app
21 lines
533 B
TypeScript
21 lines
533 B
TypeScript
import Button from '@components/Button'
|
|
import { useNavigation } from '@react-navigation/native'
|
|
import React from 'react'
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
const AccountInformationSwitch: React.FC = () => {
|
|
const navigation = useNavigation<any>()
|
|
const { t } = useTranslation('screenTabs')
|
|
|
|
return (
|
|
<Button
|
|
type='text'
|
|
content={t('me.stacks.switch.name')}
|
|
onPress={() => navigation.navigate('Tab-Me-Switch')}
|
|
style={{ flex: 1 }}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default AccountInformationSwitch
|