Demo that the alerts support markdown

This commit is contained in:
Tessa Kelly 2019-04-17 14:02:34 -07:00
parent f0b746684f
commit 63b2c8d2f5

View File

@ -16,10 +16,10 @@ example =
{ filename = "Nri.Ui.Alert.V4.elm"
, category = Messaging
, content =
[ Alert.error "This is an error"
, Alert.warning "This is a warning"
, Alert.tip "This is a tip"
, Alert.success "This is a success"
[ Alert.error "This is an **error**"
, Alert.warning "This is a **warning**"
, Alert.tip "This is a **tip**"
, Alert.success "This is a **success**"
, Alert.complexError (complexHtml "complexError")
, Alert.complexWarning (complexHtml "complexWarning")
, Alert.somethingWentWrong exampleRailsError