chore: add consistent type imports
This commit is contained in:
@@ -3,7 +3,7 @@ import { useIntl } from "react-intl"
|
||||
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
|
||||
import { AccessibilityProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import type { AccessibilityProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import { IconName } from "@/types/components/icon"
|
||||
|
||||
export default function Accessibility({
|
||||
|
||||
@@ -3,7 +3,7 @@ import { useIntl } from "react-intl"
|
||||
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
|
||||
import { CheckInCheckOutProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import type { CheckInCheckOutProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import { IconName } from "@/types/components/icon"
|
||||
|
||||
export default function CheckinCheckOut({ checkin }: CheckInCheckOutProps) {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { useIntl } from "react-intl"
|
||||
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
|
||||
import { MeetingsAndConferencesProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import type { MeetingsAndConferencesProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import { IconName } from "@/types/components/icon"
|
||||
|
||||
export default function MeetingsAndConferences({
|
||||
|
||||
@@ -6,7 +6,7 @@ import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
||||
|
||||
import styles from "./sidePeekAccordion.module.css"
|
||||
|
||||
import { ParkingProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import type { ParkingProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import { IconName } from "@/types/components/icon"
|
||||
|
||||
export default function Parking({ parking }: ParkingProps) {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { useIntl } from "react-intl"
|
||||
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
|
||||
import { RestaurantProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import type { RestaurantProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import { IconName } from "@/types/components/icon"
|
||||
|
||||
export default function Restaurant({
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { FC } from "react"
|
||||
|
||||
import {
|
||||
BedDoubleIcon,
|
||||
BedSingleIcon,
|
||||
KingBedSmallIcon,
|
||||
} from "@/components/Icons"
|
||||
|
||||
import type { FC } from "react"
|
||||
|
||||
import type { IconProps } from "@/types/components/icon"
|
||||
|
||||
export function getBedIcon(name: string): FC<IconProps> | null {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import { FC } from "react"
|
||||
|
||||
import {
|
||||
AcIcon,
|
||||
AirplaneIcon,
|
||||
@@ -65,7 +63,9 @@ import {
|
||||
YardIcon,
|
||||
} from "@/components/Icons"
|
||||
|
||||
import { IconProps } from "@/types/components/icon"
|
||||
import type { FC } from "react"
|
||||
|
||||
import type { IconProps } from "@/types/components/icon"
|
||||
|
||||
export function getFacilityIcon(
|
||||
name: string | undefined
|
||||
|
||||
Reference in New Issue
Block a user