Skip to content

Instantly share code, notes, and snippets.

@adhithiravi
Created June 26, 2024 15:15
Show Gist options
  • Save adhithiravi/a7964c5cc5e972d040938623801c470e to your computer and use it in GitHub Desktop.
Save adhithiravi/a7964c5cc5e972d040938623801c470e to your computer and use it in GitHub Desktop.
Loading grid
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