mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 00:42:29 +03:00
Show the pennant names
This commit is contained in:
parent
77d416f529
commit
f63c7bd0a9
@ -10,6 +10,7 @@ import AtomicDesignType exposing (AtomicDesignType(..))
|
||||
import Category exposing (Category(..))
|
||||
import Css exposing (..)
|
||||
import Example exposing (Example)
|
||||
import Examples.IconExamples as IconExamples
|
||||
import Html.Styled as Html exposing (Html)
|
||||
import Html.Styled.Attributes exposing (css)
|
||||
import KeyboardSupport exposing (Direction(..), Key(..))
|
||||
@ -41,16 +42,19 @@ example =
|
||||
, subscriptions = \_ -> Sub.none
|
||||
, view =
|
||||
\_ ->
|
||||
[ Html.div [ css [ Css.displayFlex, Css.width (Css.px 200) ] ]
|
||||
[ Pennant.premiumFlag
|
||||
|> Svg.withHeight (Css.px 60)
|
||||
|> Svg.toHtml
|
||||
, Pennant.disabledPremiumFlag
|
||||
|> Svg.withHeight (Css.px 60)
|
||||
|> Svg.toHtml
|
||||
, Pennant.expiredPremiumFlag
|
||||
|> Svg.withHeight (Css.px 60)
|
||||
|> Svg.toHtml
|
||||
[ IconExamples.viewWithCustomStyles "Premium Pennants"
|
||||
[ ( "premiumFlag"
|
||||
, Pennant.premiumFlag
|
||||
, [ Css.width (Css.px 80) ]
|
||||
)
|
||||
, ( "expiredPremiumFlag"
|
||||
, Pennant.expiredPremiumFlag
|
||||
, [ Css.width (Css.px 80) ]
|
||||
)
|
||||
, ( "disabledPremiumFlag"
|
||||
, Pennant.disabledPremiumFlag
|
||||
, [ Css.width (Css.px 80) ]
|
||||
)
|
||||
]
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user