Class

StyledAlert

StyledAlert(props) → {React.ReactElement}

Constructor

# new StyledAlert(props) → {React.ReactElement}

Overview

The Alert component wrapped around in Snackbar component from Material-UI library. For full documentation check out Material-UI docs on Alert and Snackbar.
Parameters:
Name Type Attributes Description
props Object

Any other props will be forwarded to the Alert component.

message string <optional>

The content of the component.

snackbarProps Object <optional>

Props applied to the Snackbar component.

View Source Utils/Feedback/StyledAlert.js, line 34

React.ReactElement