Use pennant v2 in the banner alert custom example

This commit is contained in:
Tessa Kelly 2020-03-17 13:12:31 -07:00
parent 5c565e1a9b
commit ae787f13dc

View File

@ -13,7 +13,7 @@ import ModuleExample as ModuleExample exposing (Category(..), ModuleExample)
import Nri.Ui.BannerAlert.V6 as BannerAlert
import Nri.Ui.Colors.V1 as Colors
import Nri.Ui.Fonts.V1 as Fonts
import Nri.Ui.Pennant.V1 as Pennant
import Nri.Ui.Pennant.V2 as Pennant
import Nri.Ui.Svg.V1 as Svg
import Nri.Ui.UiIcon.V1 as UiIcon
@ -48,7 +48,7 @@ example parentMsg state =
, BannerAlert.custom
{ color = Colors.aquaDark
, backgroundColor = Colors.gray92
, icon = Pennant.premiumFlag
, icon = Svg.toHtml (Svg.withHeight (Css.px 50) <| Svg.withWidth (Css.px 50) <| Pennant.premiumFlag)
, content = [ text "I'm a custom banner!" ]
, dismiss = Nothing
}