Class

CustomizedSnackbars

CustomizedSnackbars(props) → {React.ReactElement}

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).

View Source Body/Project/Data/Notification.js, line 33

React.ReactElement