Skip to content

Commit

Permalink
Merge branch 'master' into renovate/react-19.x
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah authored Dec 24, 2024
2 parents 7b5372d + 24e1dac commit c4ee1a8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/data/material/components/accordion/accordion.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,15 @@ The Accordion component then derives the necessary `aria-labelledby` and `id` fr

## Anatomy

The Accordion component is composed of a root `<div>` that houses interior elements like the Accordion Summary and other optional components (such as buttons or decorators).
The Accordion component consists of a root `<div>` that contains the Accordion Summary, Accordion Details, and optional Accordion Actions for action buttons.

```jsx
<div class="MuiAccordion-root">
<div class="MuiButtonBase-root MuiAccordionSummary-root" role="button" aria-expanded="">
<!-- Accordion header button goes here -->
</div>
<h3 class="MuiAccordion-heading">
<button class="MuiButtonBase-root MuiAccordionSummary-root" aria-expanded="">
<!-- Accordion summary goes here -->
</button>
</h3>
<div class="MuiAccordion-region" role="region">
<div class="MuiAccordionDetails-root">
<!-- Accordion content goes here -->
Expand Down

0 comments on commit c4ee1a8

Please sign in to comment.