Skeleton loader for booking widget on desktop
This commit is contained in:
19
components/SkeletonShimmer/index.tsx
Normal file
19
components/SkeletonShimmer/index.tsx
Normal 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,
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user