AtlasAlert

An alert which contains important information about a page.

Examples

Alert Types

This is a default alert.
This is an information alert.
This is a success alert.
This is a warning alert.
This is a danger alert.

Alert with Button

This is the content of a default alert.

Alert with Title

This information alert has a title!
This is the content of an information alert with only a title.

Alert with Button and Title

This success alert has a title!
This is the content of a success alert that has a title and button.

Props

NameDescriptionTypeDefaultRequired
typeone of default, information, success, warning, dangerenum"default"
titletext to display for the titlestringnull
labeltext to display in the buttonstringnull
handleClickclick handlerfunc
contenttext to display for the contentstring
iconicon to display to the left of alert contentelement