Options
All
  • Public
  • Public/Protected
  • All
Menu

React properties for collapsible section component.

Hierarchy

  • IProperties

Index

Properties

Optional disabled

disabled: boolean

If true, the section will be collapsed and will not respond to open nor close actions.

Optional errorMessage

errorMessage: string | null

If given, this will be diplayed instead of the children.

Optional forceOpen

forceOpen: boolean

If true, the section will be opened if not disabled.

header

header: string

The header string for section list.

Optional headerElements

headerElements: React.ReactNode

Any additional elements to add to the header.

Optional isOpen

isOpen: boolean

Whether the view will be expanded or collapsed initially, defaults to open.

Optional onCollapse

onCollapse: (isOpen: boolean) => void

Handle collapse event.

Type declaration

    • (isOpen: boolean): void
    • Parameters

      • isOpen: boolean

      Returns void

Generated using TypeDoc