Skip to content

Commit

Permalink
feat(accordion): add accordion call in page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Armanpreet Ghotra committed Nov 8, 2024
1 parent b633af8 commit 91b2bff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/elements/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import CustomAccordion from '@/components/Accordions/Accordion';
import { CustomButton } from '@/components/Buttons/CustomButton';
import { Chart } from '@/components/Charts/Chart';
import container from '@/container';
import CountryRepository from '@/domain/repositories/CountryRepository';
import AccordionsOperations from '@/operations/accordions/AccordionOperations';

/**
* You can use this page to try and show off your components.
Expand All @@ -14,6 +16,7 @@ export default async function Elements() {
<Chart chartData={countryData.fcsGraph} />;<CustomButton variant="solid">Test</CustomButton>
<CustomButton variant="bordered">Test</CustomButton>
<CustomButton variant="flat">Test</CustomButton>
<CustomAccordion items={AccordionsOperations.getAccordionData()} />;
</div>
);
}

0 comments on commit 91b2bff

Please sign in to comment.