feat: static my stays
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export type Stay = {
|
||||
uid: string
|
||||
dateArrive: Date
|
||||
dateDepart: Date
|
||||
guests: number
|
||||
hotel: string
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Stay, User } from "@/types/user"
|
||||
|
||||
export type StaysProps = {
|
||||
stays: User["stays"]
|
||||
}
|
||||
|
||||
export type StayProps = Stay
|
||||
@@ -0,0 +1,8 @@
|
||||
import { Stay } from "../myPage/stay"
|
||||
import { Lang } from "@/constants/languages"
|
||||
|
||||
export type StayCardProps = {
|
||||
lang: Lang
|
||||
showDayCount?: boolean
|
||||
stay: Stay
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { Lang } from "@/constants/languages"
|
||||
import { Stay } from "../myPage/stay"
|
||||
|
||||
export type StayListProps = {
|
||||
stays: Stay[]
|
||||
lang: Lang
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
export type HeaderProps = {
|
||||
title: string
|
||||
subtitle: string
|
||||
}
|
||||
Reference in New Issue
Block a user