-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
apps/pigment-next-app/src/app/material-ui/react-accordion/page.tsx
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
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
59
apps/pigment-vite-app/src/pages/material-ui/react-accordion.tsx
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
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> | ||
); | ||
} |