Components

Alert

<Alert />

Constructor

# <Alert />

Presents a simple coloured alert box that varies depending on type. Used to inform user of important or interesting notices.

Error example:

<Alert type={AlertType.ERROR}>There has been a problem loading this page</Alert>

Warning example:

<Alert type={AlertType.WARNING}>You must log-in to see this content</Alert>

Information example:

<Alert type={AlertType.INFO}>A new record has been added</Alert>

View Source components/extras/Alert.tsx, line 34