refactor(SW-302): update typings
This commit is contained in:
@@ -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[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user