noredink-ui/styleguide-app/Examples/Alert.elm

24 lines
478 B
Elm
Raw Normal View History

2018-08-16 01:05:55 +03:00
module Examples.Alert exposing (example)
{-|
@docs example
-}
import ModuleExample as ModuleExample exposing (Category(..), ModuleExample)
2019-03-28 23:50:02 +03:00
import Nri.Ui.Alert.V3 as Alert
2018-08-16 01:05:55 +03:00
example : ModuleExample msg
example =
2019-03-28 23:50:02 +03:00
{ filename = "Nri.Ui.Alert.V3.elm"
2018-08-16 01:05:55 +03:00
, category = Messaging
, content =
2019-03-29 00:00:53 +03:00
[ Alert.error "This is an error"
2019-03-29 00:28:21 +03:00
, Alert.warning "This is a warning"
2019-03-29 00:07:12 +03:00
, Alert.tip "This is a tip"
, Alert.success "This is a success"
2018-08-16 01:05:55 +03:00
]
}