Whether the alert is currently visible
Alert message text to display
Optional
typeAlert type determining background color (green/red)
Optional
durationAuto-hide duration in milliseconds (0 = no auto-hide)
Optional
onCallback when alert is hidden (manually or auto)
Styling:
Optional
textColor of the message text
Optional
styleCustom styles for the alert container
Advanced Render Overrides:
Optional
renderFunction to wrap or replace the default alert content
Optional
renderFunction to wrap or replace the entire alert container
Interface defining the options for the AlertComponent.
AlertComponentOptions
Display Control: