Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Interface: RsAccordionPanelProps

Props for the RsAccordionPanel component.

Extends​

  • Omit<PanelProps, "header">

Properties​

as?​

optional as?: ElementType<any, keyof IntrinsicElements>

You can use a custom element for this component

Inherited from​

Omit.as


bodyFill?​

optional bodyFill?: boolean

Content area filled with containers

Inherited from​

RsCardProps.bodyFill


bodyProps?​

optional bodyProps?: HTMLAttributes<HTMLDivElement>

Custom body style

Inherited from​

RsCardProps.bodyProps


bordered?​

optional bordered?: boolean

Show border

Inherited from​

RsCardProps.bordered


caretAs?​

optional caretAs?: ElementType<any, keyof IntrinsicElements>

The icon on the right side of the title

Inherited from​

RsCardProps.caretAs


children?​

optional children?: ReactNode

Panel body content.

Overrides​

RsAutoCompleteProps.children


className?​

optional className?: string

CSS class name.

Overrides​

RsBreadcrumbProps.className


classPrefix?​

optional classPrefix?: string

The prefix of the component CSS class

Inherited from​

RsAutoCompleteProps.classPrefix


collapsible?​

optional collapsible?: boolean

Whether it is a collapsible panel

Inherited from​

RsCardProps.collapsible


defaultExpanded?​

optional defaultExpanded?: boolean

Expand then panel by default

Inherited from​

RsCardProps.defaultExpanded


disabled?​

optional disabled?: boolean

Whether the panel is disabled

Inherited from​

RsCardProps.disabled


eventKey?​

optional eventKey?: number | string

The event key corresponding to the panel

Inherited from​

Omit.eventKey


expanded?​

optional expanded?: boolean

Expand then panel

Inherited from​

RsCardProps.expanded


optional header?: ReactNode

Panel header text.


headerRole?​

optional headerRole?: string

The role attribute of the header

Inherited from​

RsCardProps.headerRole


id?​

optional id?: string

The id attribute of the panel

Inherited from​

RsCardProps.id


onEnter?​

optional onEnter?: (node) => void

Callback fired before the Modal transitions in

Parameters​

node​

HTMLElement

Returns​

void

Inherited from​

RsAutoCompleteProps.onEnter


onEntered?​

optional onEntered?: (node) => void

Callback fired after the Modal finishes transitioning in

Parameters​

node​

HTMLElement

Returns​

void

Inherited from​

RsAutoCompleteProps.onEntered


onEntering?​

optional onEntering?: (node) => void

Callback fired as the Modal begins to transition in

Parameters​

node​

HTMLElement

Returns​

void

Inherited from​

RsAutoCompleteProps.onEntering


onExit?​

optional onExit?: (node) => void

Callback fired right before the Modal transitions out

Parameters​

node​

HTMLElement

Returns​

void

Inherited from​

RsAutoCompleteProps.onExit


onExited?​

optional onExited?: (node) => void

Callback fired after the Modal finishes transitioning out

Parameters​

node​

HTMLElement

Returns​

void

Inherited from​

RsAutoCompleteProps.onExited


onExiting?​

optional onExiting?: (node) => void

Callback fired as the Modal begins to transition out

Parameters​

node​

HTMLElement

Returns​

void

Inherited from​

RsAutoCompleteProps.onExiting


onSelect?​

optional onSelect?: (eventKey, event) => void

Called when the panel is selected

Parameters​

eventKey​

number | string | undefined

event​

SyntheticEvent

Returns​

void

Inherited from​

Omit.onSelect


panelRole?​

optional panelRole?: string

The role attribute of the panel

Inherited from​

RsCardProps.panelRole


scrollShadow?​

optional scrollShadow?: boolean

The shadow of the content when scrolling

Inherited from​

RsCardProps.scrollShadow


shaded?​

optional shaded?: boolean

Whether there is a shadow

Inherited from​

RsCardProps.shaded


style?​

optional style?: CSSProperties

Additional style

Inherited from​

RsBreadcrumbProps.style