Updated Badge example to also show HTML symbols

This commit is contained in:
Håkon Rossebø 2016-03-24 10:01:29 +01:00
parent 3fbdadfe88
commit 4867ee1918

View file

@ -17,5 +17,11 @@ view = [ div [][p [][]
, p [][]
, styled span [Badge.withBadge "99", Badge.overlap, Badge.noBackground] [ ] [ text "Span with badge overlap and no background" ]
, p [][]
, styled span [Badge.withBadge ""] [ ] [ text "Span with HTML symbol - Black heart suit" ]
, p [][]
, styled span [Badge.withBadge ""] [ ] [ text "Span with HTML symbol - Rightwards arrow" ]
, p [][]
, styled span [Badge.withBadge "Δ"] [ ] [ text "Span with HTML symbol - Delta" ]
, p [][]
]
]