mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-18 19:21:29 +03:00
28d36c6f64
This reverts commit4373c78d82
, reversing changes made to6b78075f02
.
31 lines
727 B
Elm
31 lines
727 B
Elm
module Examples.Pennant exposing (example)
|
|
|
|
{-|
|
|
|
|
@docs example
|
|
|
|
-}
|
|
|
|
import Css exposing (..)
|
|
import Html.Styled as Html exposing (Html)
|
|
import Html.Styled.Attributes exposing (css)
|
|
import ModuleExample exposing (Category(..), ModuleExample)
|
|
import Nri.Ui.Fonts.V1 as Fonts
|
|
import Nri.Ui.Pennant.V1 as Pennant
|
|
|
|
|
|
{-| -}
|
|
example : ModuleExample msg
|
|
example =
|
|
{ name = "Nri.Ui.Pennant.V1"
|
|
, category = Icons
|
|
, content =
|
|
[ Html.div [ css [ displayFlex, alignItems center ] ]
|
|
[ Html.span [ css [ Fonts.baseFont, Css.fontSize (Css.px 16) ] ]
|
|
[ Html.text "A premiumFlag indicates that content is Premium"
|
|
]
|
|
, Pennant.premiumFlag
|
|
]
|
|
]
|
|
}
|