feat(SW-938) Updated icons
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import Contact from "@/components/HotelReservation/Contact"
|
||||
import { AccessibilityIcon } from "@/components/Icons"
|
||||
import Accordion from "@/components/TempDesignSystem/Accordion"
|
||||
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
@@ -8,7 +9,7 @@ import SidePeek from "@/components/TempDesignSystem/SidePeek"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
||||
|
||||
import { getFacilityIcon } from "../RoomSidePeek/facilityIcon"
|
||||
import { getHotelFacilityIcon } from "./hotelFacilityIcon"
|
||||
|
||||
import styles from "./hotelSidePeek.module.css"
|
||||
|
||||
@@ -59,10 +60,15 @@ export default function HotelSidePeek({
|
||||
</AccordionItem>
|
||||
) : null}
|
||||
<div className={styles.amenity}>
|
||||
<AccessibilityIcon
|
||||
width={24}
|
||||
height={24}
|
||||
color="uiTextMediumContrast"
|
||||
/>
|
||||
{intl.formatMessage({ id: "Accessibility" })}
|
||||
</div>
|
||||
{amenitiesList.map((amenity) => {
|
||||
const Icon = getFacilityIcon(amenity.icon)
|
||||
const Icon = getHotelFacilityIcon(amenity.icon)
|
||||
return (
|
||||
<div key={amenity.id} className={styles.amenity}>
|
||||
{Icon && (
|
||||
|
||||
Reference in New Issue
Block a user