Created
June 26, 2024 15:15
-
-
Save adhithiravi/a7964c5cc5e972d040938623801c470e to your computer and use it in GitHub Desktop.
Loading grid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import styles from "./conference.module.css"; | |
/** Loading skeleton for conference sessions and speakers page */ | |
export default function Loading() { | |
// You can add any UI inside Loading, including a Skeleton. | |
return ( | |
<> | |
{Array(10) | |
.fill(1) | |
.map((index) => ( | |
<div key={index} className={styles.skeletonContainer}></div> | |
))} | |
</> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment