Skip to content

Commit

Permalink
feat: add loading to accordions of download portal with the help load…
Browse files Browse the repository at this point in the history
…ing.tsx (#119)

Co-authored-by: Armanpreet Ghotra <[email protected]>
  • Loading branch information
ArmanpreetGhotra and Armanpreet Ghotra authored Dec 12, 2024
1 parent 9249760 commit 646177f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/app/download-portal/loading.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import AccordionContainer from '@/components/Accordions/AccordionContainer';
import { TITLE } from '@/domain/entities/download/Country';

export default function Loading() {
const loading = true;

return (
<div>
<h1>Download Portal</h1>
<AccordionContainer
items={[
{
title: 'Country Reports',
},
{
title: TITLE,
},
]}
loading={loading}
/>
</div>
);
}

0 comments on commit 646177f

Please sign in to comment.