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