AccordionDetails

What an Accordion opens: the padded body of its region.

What an Accordion opens: the padded body of its region. It must sit in an Accordion, and takes the side padding of its hasGutters.

<AccordionDetails>It leaves on Monday.</AccordionDetails>

Demos

For usage examples, visit the component demo page: Accordion

Import

import { AccordionDetails } from '@soroush.tech/design-system/Accordion'

Props

PropTypeDefaultDescription
childrenReactNode-What the accordion opens.
className, data-testidOn the root.

Customization

theme.components.AccordionDetails styles the root.

Source code

If this page does not answer your question, have a look at the implementation of the component for more detail.