A
Anonymous
Room List - Copy this React, Tailwind Component to your project
Create a React Native component for the homepage of a tenant management app. This component should fetch and display a list of rooms, showing the tenant name and room rent for each room. The data should be retrieved from a SQLite database, and each room should be displayed in a styled card with the tenant's name, room rent, and a unique room identifier. Implement error handling and display a loading state if the data is being fetched. Include basic styling for the list and cards, ensuring the page is clean and user friendly.
Prompt
