import { View, Text, Image, StyleSheet, Pressable } from 'react-native'; import React from 'react'; import { StarSvg } from './SVG'; import { router } from 'expo-router'; const ChooseCarForChargingRow = ({ imageUrl, VehicleName, isDefault }: { imageUrl?: any; VehicleName: string; isDefault: boolean; }) => ( router.push('/bookingConfirmationPage')}> {isDefault && ( <> )} {VehicleName} ); export default ChooseCarForChargingRow; const styles = StyleSheet.create({ grayColor: { color: '#888888' }, topLeftTriangle: { width: 0, height: 0, borderLeftWidth: 50, borderBottomWidth: 50, borderLeftColor: '#02677D', borderBottomColor: 'transparent', position: 'absolute', top: 0, left: 0 }, text: { fontWeight: 300, color: '#000000' } });