I have an array here that I would like to map out and list in radio check boxes.
I currently can only get one item of the array to return by typing out for example: <IonLabel>{item[1]}</IonLabel>
How would I get all of them to list out?
'equipment' Array
{0: "Camera", 1: "Wide Angle Lens (16mm equivalent)", 2: "Tripod", 3: "Drone"}
0: "Camera"
1: "Wide Angle Lens (16mm equivalent)"
2: "Tripod"
3: "Drone"
Current Code
{equipment.map((item, i) => {
return (
<IonItem key={i}>
<IonLabel>{item}</IonLabel>
<IonRadio slot="start" value="biff"/>
</IonItem>
);
})}