Skip to main content

Interface: DisclosureTriggerProps

Defined in: composites/Disclosure/Disclosure.tsx:149

Props for the DisclosureTrigger component.

Extends the React Aria Button API (minus style/className/slot) so behavior props — isDisabled, onPress, id, aria-* — flow through.

Extends

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

Properties

children?

optional children?: ReactNode

Defined in: composites/Disclosure/Disclosure.tsx:160

Visible label content of the trigger row.


headingLevel?

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

Defined in: composites/Disclosure/Disclosure.tsx:158

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

Default

3