Interface: RsAccordionPanelProps
Props for the RsAccordionPanel component.
Extends
Omit<PanelProps,"header">
Properties
as?
optionalas?:ElementType<any, keyof IntrinsicElements>
You can use a custom element for this component
Inherited from
Omit.as
bodyFill?
optionalbodyFill?:boolean
Content area filled with containers
Inherited from
bodyProps?
optionalbodyProps?:HTMLAttributes<HTMLDivElement>
Custom body style
Inherited from
bordered?
optionalbordered?:boolean
Show border
Inherited from
caretAs?
optionalcaretAs?:ElementType<any, keyof IntrinsicElements>
The icon on the right side of the title
Inherited from
children?
optionalchildren?:ReactNode
Panel body content.
Overrides
className?
optionalclassName?:string
CSS class name.
Overrides
classPrefix?
optionalclassPrefix?:string
The prefix of the component CSS class
Inherited from
RsAutoCompleteProps.classPrefix
collapsible?
optionalcollapsible?:boolean
Whether it is a collapsible panel
Inherited from
defaultExpanded?
optionaldefaultExpanded?:boolean
Expand then panel by default
Inherited from
disabled?
optionaldisabled?:boolean
Whether the panel is disabled
Inherited from
eventKey?
optionaleventKey?:number|string
The event key corresponding to the panel
Inherited from
Omit.eventKey
expanded?
optionalexpanded?:boolean
Expand then panel
Inherited from
header?
optionalheader?:ReactNode
Panel header text.
headerRole?
optionalheaderRole?:string
The role attribute of the header
Inherited from
id?
optionalid?:string
The id attribute of the panel
Inherited from
onEnter?
optionalonEnter?: (node) =>void
Callback fired before the Modal transitions in
Parameters
node
HTMLElement
Returns
void
Inherited from
onEntered?
optionalonEntered?: (node) =>void
Callback fired after the Modal finishes transitioning in
Parameters
node
HTMLElement
Returns
void
Inherited from
onEntering?
optionalonEntering?: (node) =>void
Callback fired as the Modal begins to transition in
Parameters
node
HTMLElement
Returns
void
Inherited from
RsAutoCompleteProps.onEntering
onExit?
optionalonExit?: (node) =>void
Callback fired right before the Modal transitions out
Parameters
node
HTMLElement
Returns
void
Inherited from
onExited?
optionalonExited?: (node) =>void
Callback fired after the Modal finishes transitioning out
Parameters
node
HTMLElement
Returns
void
Inherited from
onExiting?
optionalonExiting?: (node) =>void
Callback fired as the Modal begins to transition out
Parameters
node
HTMLElement
Returns
void
Inherited from
onSelect?
optionalonSelect?: (eventKey,event) =>void
Called when the panel is selected
Parameters
eventKey
number | string | undefined
event
SyntheticEvent
Returns
void
Inherited from
Omit.onSelect
panelRole?
optionalpanelRole?:string
The role attribute of the panel
Inherited from
scrollShadow?
optionalscrollShadow?:boolean
The shadow of the content when scrolling
Inherited from
shaded?
optionalshaded?:boolean
Whether there is a shadow
Inherited from
style?
optionalstyle?:CSSProperties
Additional style