import * as WebBrowser from 'expo-web-browser'; import React, { useState} from 'react'; import { Button, StyleSheet, TouchableOpacity } from 'react-native'; import Colors from '../constants/Colors'; import { MonoText } from './StyledText'; import { Text, View } from './Themed'; import { TripSummary } from '../GT2'; export default function EndScreenInfo({ path }: { path: string }) { return ( Summary of this trip: Min trip is 250 meters. World Bank on Greenhouse Gas Accounting ); } function handleHelpPress() { WebBrowser.openBrowserAsync( 'https://olc.worldbank.org/content/ghg-accounting-101-self-paced' ); } const styles = StyleSheet.create({ summaryContainer: { alignItems: 'center', marginHorizontal: 50, }, helpContainer: { marginTop: 15, marginHorizontal: 20, alignItems: 'center', }, helpLink: { paddingVertical: 15, }, helpLinkText: { textAlign: 'center', }, });