From abd5fdf1b83d3fb5e714687d13365abc1965a30f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Rosseb=C3=B8?= Date: Thu, 24 Mar 2016 21:15:14 +0100 Subject: [PATCH] Adds an Icon with badge example --- examples/Demo/Badges.elm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/Demo/Badges.elm b/examples/Demo/Badges.elm index f9761ce..ea720ef 100644 --- a/examples/Demo/Badges.elm +++ b/examples/Demo/Badges.elm @@ -4,7 +4,7 @@ import Html exposing (..) import Html.Attributes exposing (class, style, key) import Material.Badge as Badge import Material.Style exposing (..) - +import Material.Icon as Icon -- VIEW view : List Html @@ -23,5 +23,7 @@ view = [ div [][p [][] , p [][] , styled span [Badge.withBadge "Δ"] [ ] [ text "Span with HTML symbol - Delta" ] , p [][] + , span [][text "Icon with badge"] + , Icon.view "face" [Icon.iconSize Icon.S24, Badge.withBadge "33", Badge.overlap ] [] ] ] \ No newline at end of file