Answers for "Loop through array react native"

0

Loop through array react native

{
 urArray.map((prop, key) => {
     console.log(emp);
     return <Picker.Item label={emp.Name} value={emp.id} />;
 })
}
Posted by: Guest on August-26-2021
0

react loop through array

this.items = this.state.cart.map((item, key) =>    <li key={item.id}>{item.name}</li>);
Posted by: Guest on May-01-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language