noredink-ui/styleguide-app/Examples/Alert.elm
Luke Westby c1ff19f0d0
Add Html.Styled versions for everything (#139)
* make html.styled versions of remaining widgets

* upgrade all the examples

* change license name
2018-10-23 09:55:30 -07:00

25 lines
533 B
Elm

module Examples.Alert exposing (example)
{-|
@docs example
-}
import Assets exposing (assets)
import ModuleExample as ModuleExample exposing (Category(..), ModuleExample)
import Nri.Ui.Alert.V2 as Alert
example : ModuleExample msg
example =
{ filename = "Nri/Alerts.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"
]
}