mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-02 23:52:22 +03:00
Section the Alert examples
This commit is contained in:
parent
6207fd1f27
commit
ef10991097
@ -16,12 +16,17 @@ example =
|
||||
{ filename = "Nri.Ui.Alert.V4.elm"
|
||||
, category = Messaging
|
||||
, content =
|
||||
[ Alert.error "This is an **error**"
|
||||
[ Html.h4 [] [ Html.text "Markdown-supporting:" ]
|
||||
, Alert.error "This is an **error**"
|
||||
, Alert.warning "This is a **warning**"
|
||||
, Alert.tip "This is a **tip**"
|
||||
, Alert.success "This is a **success**"
|
||||
, Html.hr [] []
|
||||
, Html.h4 [] [ Html.text "Html-supporting:" ]
|
||||
, Alert.complexError (complexHtml "complexError")
|
||||
, Alert.complexWarning (complexHtml "complexWarning")
|
||||
, Html.hr [] []
|
||||
, Html.h4 [] [ Html.text "Stacktraces-supporting:" ]
|
||||
, Alert.somethingWentWrong exampleRailsError
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user