mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-16 18:20:31 +03:00
25 lines
538 B
Elm
25 lines
538 B
Elm
module Examples.Alert exposing (example)
|
|
|
|
{-|
|
|
|
|
@docs example
|
|
|
|
-}
|
|
|
|
import Assets exposing (assets)
|
|
import ModuleExample as ModuleExample exposing (Category(..), ModuleExample)
|
|
import Nri.Ui.Alert.V3 as Alert
|
|
|
|
|
|
example : ModuleExample msg
|
|
example =
|
|
{ filename = "Nri.Ui.Alert.V3.elm"
|
|
, category = Messaging
|
|
, content =
|
|
[ Alert.error assets "This is an error"
|
|
, Alert.warning assets "This is a warning"
|
|
, Alert.tip assets "This is a tip"
|
|
, Alert.success assets "This is a success"
|
|
]
|
|
}
|