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