Testing the new HotelRoomAvailability component with percentage display
6 of 6 rooms available
// Component Name: HotelRoomAvailability.jsx
// Location: /src/Components/OwnerDeatilsCard/
// Key Features:
- useMemo for performance optimization
- Real API integration (GetOwnerReservationsApi)
- Smart room type resolution with fallbacks
- Percentage-based availability calculation
- Error handling and loading states
- Bootstrap UI components
// Usage:
<HotelRoomAvailability
getPropData={propertyData}
reservations={reservations}
onDateSelection={handleDateSelection}
showBookingButton={true}
/>