Skip to content

Commit

Permalink
page
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Mar 13, 2024
1 parent 1691ac9 commit dba3d03
Show file tree
Hide file tree
Showing 2 changed files with 117 additions and 0 deletions.
58 changes: 58 additions & 0 deletions apps/pigment-next-app/src/app/material-ui/react-accordion/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
'use client';
import * as React from 'react';
import AccordionExpandDefault from '../../../../../../docs/data/material/components/accordion/AccordionExpandDefault';
import AccordionExpandIcon from '../../../../../../docs/data/material/components/accordion/AccordionExpandIcon';
import AccordionTransition from '../../../../../../docs/data/material/components/accordion/AccordionTransition';
import AccordionUsage from '../../../../../../docs/data/material/components/accordion/AccordionUsage';
import ControlledAccordions from '../../../../../../docs/data/material/components/accordion/ControlledAccordions';
import CustomizedAccordions from '../../../../../../docs/data/material/components/accordion/CustomizedAccordions';
import DisabledAccordion from '../../../../../../docs/data/material/components/accordion/DisabledAccordion';

export default function Accordion() {
return (
<React.Fragment>
<section>
<h2> Accordion Expand Default</h2>
<div className="demo-container">
<AccordionExpandDefault />
</div>
</section>
<section>
<h2> Accordion Expand Icon</h2>
<div className="demo-container">
<AccordionExpandIcon />
</div>
</section>
<section>
<h2> Accordion Transition</h2>
<div className="demo-container">
<AccordionTransition />
</div>
</section>
<section>
<h2> Accordion Usage</h2>
<div className="demo-container">
<AccordionUsage />
</div>
</section>
<section>
<h2> Controlled Accordions</h2>
<div className="demo-container">
<ControlledAccordions />
</div>
</section>
<section>
<h2> Customized Accordions</h2>
<div className="demo-container">
<CustomizedAccordions />
</div>
</section>
<section>
<h2> Disabled Accordion</h2>
<div className="demo-container">
<DisabledAccordion />
</div>
</section>
</React.Fragment>
);
}
59 changes: 59 additions & 0 deletions apps/pigment-vite-app/src/pages/material-ui/react-accordion.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
import * as React from 'react';
import MaterialUILayout from '../../Layout';
import AccordionExpandDefault from '../../../../../docs/data/material/components/accordion/AccordionExpandDefault.tsx';
import AccordionExpandIcon from '../../../../../docs/data/material/components/accordion/AccordionExpandIcon.tsx';
import AccordionTransition from '../../../../../docs/data/material/components/accordion/AccordionTransition.tsx';
import AccordionUsage from '../../../../../docs/data/material/components/accordion/AccordionUsage.tsx';
import ControlledAccordions from '../../../../../docs/data/material/components/accordion/ControlledAccordions.tsx';
import CustomizedAccordions from '../../../../../docs/data/material/components/accordion/CustomizedAccordions.tsx';
import DisabledAccordion from '../../../../../docs/data/material/components/accordion/DisabledAccordion.tsx';

export default function Accordion() {
return (
<MaterialUILayout>
<h1>Accordion</h1>
<section>
<h2> Accordion Expand Default</h2>
<div className="demo-container">
<AccordionExpandDefault />
</div>
</section>
<section>
<h2> Accordion Expand Icon</h2>
<div className="demo-container">
<AccordionExpandIcon />
</div>
</section>
<section>
<h2> Accordion Transition</h2>
<div className="demo-container">
<AccordionTransition />
</div>
</section>
<section>
<h2> Accordion Usage</h2>
<div className="demo-container">
<AccordionUsage />
</div>
</section>
<section>
<h2> Controlled Accordions</h2>
<div className="demo-container">
<ControlledAccordions />
</div>
</section>
<section>
<h2> Customized Accordions</h2>
<div className="demo-container">
<CustomizedAccordions />
</div>
</section>
<section>
<h2> Disabled Accordion</h2>
<div className="demo-container">
<DisabledAccordion />
</div>
</section>
</MaterialUILayout>
);
}

0 comments on commit dba3d03

Please sign in to comment.