feat(SW-340): Hover actions

This commit is contained in:
Pontus Dreij
2024-11-08 12:23:39 +01:00
parent 5f46844b9b
commit 39edd1d422
7 changed files with 34 additions and 11 deletions

View File

@@ -94,7 +94,8 @@ export default function SelectHotelMap({
</div>
<HotelListing
hotels={hotels}
cardState={activeHotelPin ? "active" : "default"}
activeHotelPin={activeHotelPin}
onHotelCardHover={setActiveHotelPin}
/>
{showBackToTop && (
<Button