Files
web/packages/booking-flow/lib/components/RoomCardSkeleton/RoomCardSkeleton.tsx
Anton Gunnarsson 914da2b094 Merged in chore/apply-lint-fix (pull request #3312)
chore: Apply lint:fix on booking-flow

* run lint:fix


Approved-by: Bianca Widstam
2025-12-08 13:50:41 +00:00

22 lines
594 B
TypeScript

import SkeletonShimmer from "@scandic-hotels/design-system/SkeletonShimmer"
import styles from "./RoomCardSkeleton.module.css"
export function RoomCardSkeleton() {
return (
<article className={styles.card}>
{/* image container */}
<div className={styles.imageContainer}>
<SkeletonShimmer width="100%" height="100%" />
</div>
<div className={styles.priceVariants}>
{/* price variants */}
{Array.from({ length: 3 }).map((_, index) => (
<SkeletonShimmer key={index} height="100px" />
))}
</div>
</article>
)
}