// screens/moves/MoveDetailScreen.tsx import React from 'react'; import { ScrollView, StyleSheet, Text, View } from 'react-native'; import { RouteProp } from '@react-navigation/native'; import { RootStackParamList } from "../../navigation/navigationTypes"; import TypeTacticsInfoList from "../../components/TypeTacticsInfoList" type MoveDetailScreenRouteProp = RouteProp; type Props = { route: MoveDetailScreenRouteProp; }; const MoveDetailScreen = ({ route }: Props) => { const { move } = route.params; return ( Name: {move.name} Category: {move.category} Power: {move.power} Accuracy: {move.accuracy} Type: {move.type.name} ); }; const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#FFFFFF', padding: 20, }, title: { fontSize: 24, fontWeight: 'bold', marginBottom: 10, }, detail: { fontSize: 18, marginBottom: 5, }, typeListsContainer: { flexDirection: 'row', justifyContent: 'space-evenly', marginTop: 10, }, }); export default MoveDetailScreen;