Skeleton loader for footer
This commit is contained in:
@@ -3,13 +3,15 @@ import styles from "./skeleton.module.css"
|
||||
export default function SkeletonShimmer({
|
||||
height,
|
||||
width,
|
||||
contrast = "light",
|
||||
}: {
|
||||
height?: string
|
||||
width?: string
|
||||
contrast?: "light" | "dark"
|
||||
}) {
|
||||
return (
|
||||
<div
|
||||
className={styles.shimmer}
|
||||
className={`${styles.shimmer} ${styles[contrast]}`}
|
||||
style={{
|
||||
height: height,
|
||||
width: width,
|
||||
|
||||
Reference in New Issue
Block a user