Skeleton loader for booking widget on desktop

This commit is contained in:
Anton Gunnarsson
2024-11-14 13:24:06 +01:00
parent 3e62df27cc
commit 1980ae4350
9 changed files with 233 additions and 11 deletions

View File

@@ -0,0 +1,19 @@
import styles from "./skeleton.module.css"
export default function SkeletonShimmer({
height,
width,
}: {
height?: string
width?: string
}) {
return (
<div
className={styles.shimmer}
style={{
height: height,
width: width,
}}
/>
)
}