Skip to main content

Interface: DisclosureProps

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

Props for the Disclosure component.

The composite owns its layout; pass style/className on a wrapping element rather than on the composite root. See CONTRIBUTING §4.

Extends

  • Omit<RACDisclosureProps, "style" | "children" | "className">

Properties

children?

optional children?: ReactNode

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

DisclosureTrigger then DisclosurePanel, in that order.


evaluation?

optional evaluation?: "primary" | "muted"

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

Authorial emphasis. primary is the standard disclosure chrome; muted is a subdued variant for sidebars and dense lists.

Default

'primary'