I am using NativeBase for my code.
Hello, I'm wondering if there is a way to iterate through more than one array when creating a dynamic list?
e.g.
<Container>
<Content>
<List dataArray={items, items2} renderRow={(data,data2) =>
<ListItem>
<Text>{data}</Text>
<Text note>{data2}</Text>
</ListItem>
} />
</Content>
</Container>
Could this be done? What's the correct syntax because the above doesn't work! Any help would be much appreciated.