AccordionActions

The foot of an Accordion region: its buttons, at the end of a row.

The foot of an Accordion region: its buttons, at the end of a row. It must sit in an Accordion, and takes the side padding of its hasGutters.

<AccordionActions>
  <Button variant="text">Track</Button>
</AccordionActions>

Demos

For usage examples, visit the component demo page: Accordion

Import

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

Props

PropTypeDefaultDescription
childrenReactNode-The buttons.
className, data-testidOn the root.

Customization

theme.components.AccordionActions 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.