mirror of
https://github.com/correl/elm-mdl.git
synced 2024-12-18 03:00:11 +00:00
Updated Badge example to also show HTML symbols
This commit is contained in:
parent
3fbdadfe88
commit
4867ee1918
1 changed files with 6 additions and 0 deletions
|
@ -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 [][]
|
||||
]
|
||||
]
|
Loading…
Reference in a new issue