import { Car } from 'lucide-react-native'; import React from 'react'; import { Text, View } from 'react-native'; import { MachineAttendanceItem } from '@/types/types'; interface MachineCardProps { item: MachineAttendanceItem; } export default function MachineCard({ item }: MachineCardProps) { return ( {item.name} {item.description} {item.date} Entrata: {item.in} {/* The exit is registered automatically at check-in; older records created before that change may still have no exit */} {item.out ? ( Uscita: {item.out} ) : null} ); }