feat(SW-70): Move RoomCard types to /types
This commit is contained in:
@@ -3,11 +3,11 @@ import Caption from "@/components/TempDesignSystem/Text/Caption"
|
||||
import Title from "@/components/TempDesignSystem/Text/Title"
|
||||
import { getIntl } from "@/i18n"
|
||||
|
||||
import { RoomProps } from "./roomCard"
|
||||
|
||||
import styles from "./roomCard.module.css"
|
||||
|
||||
export default async function RoomCard({ room }: RoomProps) {
|
||||
import { RoomCardProps } from "@/types/components/hotelReservation/selectRate/roomCard"
|
||||
|
||||
export default async function RoomCard({ room }: RoomCardProps) {
|
||||
const { formatMessage } = await getIntl()
|
||||
return (
|
||||
<div className={styles.card}>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import { Rate } from "@/server/routers/hotels/output"
|
||||
|
||||
export type RoomProps = { room: Rate }
|
||||
export type RoomCardProps = { room: Rate }
|
||||
Reference in New Issue
Block a user