I'm creating a react native app and I want to add a list of cards in this. But i not want to write code for every card. I just want that i write once a code and it render for all items.
You can use a simple map function or else use Flatlist component in react-native
refer https://reactnative.dev/docs/flatlist for Flatlist component