refactor(SW-302): update typings

This commit is contained in:
Matilda Landström
2024-10-07 13:47:23 +02:00
parent 0fa8251cd3
commit cdb51bae73
9 changed files with 186 additions and 125 deletions
+4 -2
View File
@@ -1,6 +1,8 @@
import { FacilityCard, FacilityImage } from "./hotelPage/facilities"
import type { CardProps } from "@/components/TempDesignSystem/Card/card"
export interface CardImageProps extends React.HTMLAttributes<HTMLDivElement> {
card?: CardProps
imageCards: Pick<CardProps, "backgroundImage">[]
card: FacilityCard | CardProps
imageCards?: FacilityImage[]
}