{arr.map((item, index) => {
return (
<View style={{height: 50, width: 50, backgroundColor: 'orange', marginBottom: 10}}
/>
)
})}
{arr.map((item, index) =>
<View style={{height: 50, width: 50, backgroundColor: 'orange', marginBottom: 10}} />
)}