Learn the width of the elements to be rendered. If the sum of the width exceeds the width of the device screen, I want to wrap it with an and return it.
Is there a way I would like to make data dynamic with.
react-native for :
getItem() {
return item.map(item => {
return (
<View><Text>{item.name}</Text></View>
)
})
}