Constructor
# new CustomizedSnackbars(props) → {React.ReactElement}
Overview
It is the notification (rectangle) that appears at the bottom center of the screen.Parameters:
Name | Type | Description |
---|---|---|
props |
Object | |
open |
boolean | If true the notification will appear on the screen. |
closeOpenedNotification |
function | This is the method used to close the notification. |
message |
string | This is the html element (mainly text) displayed in the notification. |
variant |
string | One of [error, warning, info, success]. This is the variant of the notification, usually recognizable by color (red, orange, blue, green). |
React.ReactElement