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
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | - | The buttons. |
className, data-testid | On 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.