Class: module:AlertNotification

module:AlertNotification(props)

new module:AlertNotification(props)

This is the constructor for the Alert Notification class
Parameters:
Name Type Description
props
Properties:
Name Type Description
theme string Theme of the notification. ["primary", "secondary", "info", "danger", "warning", "success", "light", "dark"
message string Message to display in the notification.
Author:
  • amannirala13
Source:
Example
<div>
<AlertNotification theme={"warning"} message={"Launching in read-only mode"}/>
</div>