added static agv
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
import React from 'react'
|
||||
import VehicleInstance from './instance/vehicleInstance'
|
||||
|
||||
function VehicleInstances() {
|
||||
function VehicleInstances({ vehicles }: any) {
|
||||
return (
|
||||
<>
|
||||
|
||||
<VehicleInstance />
|
||||
{vehicles.map((val: any) =>
|
||||
|
||||
<VehicleInstance agvDetails={val} />
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user