This is the foundation for the rate selection. Since we don't have UX and UI ready yet this is on a best effort basis. Things that will be changed later includes proper API fetching, correct design, internationalization of text and form handling.
12 lines
190 B
TypeScript
12 lines
190 B
TypeScript
export type Room = {
|
|
id: number
|
|
name: string
|
|
description: string
|
|
size: string
|
|
pricePerNight: number
|
|
currency: string
|
|
imageSrc: string
|
|
}
|
|
|
|
export type RoomProps = { room: Room }
|