BcBanner
This is a BcBanner!
Description
The BcBanner component displays a message banner with optional actions. It can be configured with left and right action slots, text, and additional content. Reserved space can be hidden or maintained dynamically.
Parameters
BannerText
string?
The text content displayed inside the banner.
ChildContent
RenderFragment?
Defines additional child content inside the banner.
BannerActionsRight
RenderFragment?
Specifies actions to be placed on the right side of the banner.
BannerActionsLeft
RenderFragment?
Specifies actions to be placed on the left side of the banner.
Visible
bool
Determines whether the banner is visible.
ReservedSpace
string
Defines the reserved space height to prevent layout shifting when the banner is displayed.
HideReservedSpace
bool
Determines whether the reserved space should be hidden when the banner is not visible.