2024-03-24 14:23:08 +03:00
|
|
|
import * as React from 'react';
|
2024-03-25 10:04:03 +03:00
|
|
|
import { View, Button, Text } from 'react-native';
|
2024-03-24 14:23:08 +03:00
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
|
import { GameScreenProps } from '../types';
|
|
|
|
|
|
|
|
|
|
export function GameScreen({ navigation, route }: GameScreenProps) {
|
2024-03-25 10:04:03 +03:00
|
|
|
|
|
|
|
|
const { context, gameId } = route.params;
|
2024-03-24 14:23:08 +03:00
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
|
2024-03-25 10:04:03 +03:00
|
|
|
<Text>{gameId}</Text>
|
2024-03-24 14:23:08 +03:00
|
|
|
</View>
|
|
|
|
|
);
|
|
|
|
|
}
|