Massive/Exercises.tsx

16 lines
460 B
TypeScript
Raw Normal View History

2022-07-03 01:50:01 +00:00
import {NativeStackScreenProps} from '@react-navigation/native-stack';
import {Button, Text, View} from 'react-native';
import {RootStackParamList} from './App';
import React from 'react';
export default function Exercises({
navigation,
}: NativeStackScreenProps<RootStackParamList, 'Exercises'>) {
return (
<View>
<Text>Pull ups - 1 rep</Text>
<Button title="Go home" onPress={() => navigation.navigate('Home', {})} />
</View>
);
}