BcExpandCard
Description
The BcExpandableCard component provides a collapsible card that expands to reveal additional content. It supports dynamic rendering of expandable and value-related content.
Parameters
Title
string?
The main title text displayed in the expandable card.
SubTitle
string?
The subtitle text displayed below the title in the expandable card.
CardType
BcCardType
Specifies the type of the card, affecting its styling.
ChildContent
RenderFragment?
Defines the content that will be displayed when the card is expanded.
TitleContent
RenderFragment < bool >
Defines the content displayed when the card is in its value state.
StatusColor
BcStatusColor
Determines the status color of the expandable card, which affects its visual appearance.
Methods
Toggles the expanded state of the card, showing or hiding the expandable content.
Sample
This is a BcExpandCard
Clicking the Card will unfold the hidden Content