import React from 'react'
import VehicleInstance from './instance/vehicleInstance'

function VehicleInstances({ vehicles }: any) {
    return (
        <>

            {vehicles.map((val: any, i: any) =>
                <VehicleInstance agvDetails={val} key={i} />
            )}

        </>
    )
}

export default VehicleInstances