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

If given, this will be displayed 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: 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

Type declaration

    • (isOpen: boolean): void
    • Handle collapse event.

      Parameters

      • isOpen: boolean

      Returns void

Generated using TypeDoc