1 {arr.map((item, index) =>
2 <View style={{height: 50, width: 50, backgroundColor: 'orange', marginBottom: 10}} />
3 )}
1{arr.map((item, index) => {
2 return (
3 <View style={{height: 50, width: 50, backgroundColor: 'orange', marginBottom: 10}}
4 />
5 )
6})}
7