Skip to main content

Interface: AccordionTriggerProps

Defined in: composites/Accordion/Accordion.tsx:247

Props for the AccordionTrigger component.

Extends the full React Aria Button API (minus style/className and the reserved slot) so behavior props — isDisabled, onPress, id, aria-* — flow through to the underlying trigger button.

Extends

  • Omit<RACButtonProps, "style" | "className" | "children" | "slot">

Properties

children?

optional children?: any

Defined in: composites/Accordion/Accordion.tsx:258

Visible label content of the trigger row.


headingLevel?

optional headingLevel?: 4 | 6 | 5 | 2 | 3 | 1

Defined in: composites/Accordion/Accordion.tsx:256

HTML heading level of the wrapping heading element. Pick the level that fits the host page's document outline.

Default

3