mirror of
https://github.com/correl/elm-mdl.git
synced 2024-12-18 03:00:11 +00:00
feat(badges):initial demo setup
This commit is contained in:
parent
df0a35c135
commit
b26567c2c3
2 changed files with 13 additions and 0 deletions
|
@ -17,6 +17,7 @@ import Demo.Buttons
|
||||||
import Demo.Grid
|
import Demo.Grid
|
||||||
import Demo.Textfields
|
import Demo.Textfields
|
||||||
import Demo.Snackbar
|
import Demo.Snackbar
|
||||||
|
import Demo.Badges
|
||||||
--import Demo.Template
|
--import Demo.Template
|
||||||
|
|
||||||
-- MODEL
|
-- MODEL
|
||||||
|
@ -118,6 +119,7 @@ tabs =
|
||||||
, ("Template", \addr model ->
|
, ("Template", \addr model ->
|
||||||
[Demo.Template.view (Signal.forwardTo addr TemplateAction) model.template])
|
[Demo.Template.view (Signal.forwardTo addr TemplateAction) model.template])
|
||||||
-}
|
-}
|
||||||
|
, ("Badges", \addr model -> Demo.Badges.view)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
11
examples/Demo/Badges.elm
Normal file
11
examples/Demo/Badges.elm
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
module Demo.Badges where
|
||||||
|
|
||||||
|
-- import Material.Badge exposing (..)
|
||||||
|
import Html exposing (..)
|
||||||
|
|
||||||
|
|
||||||
|
view : List Html
|
||||||
|
view =
|
||||||
|
[
|
||||||
|
h1 [][text "Badges"]
|
||||||
|
]
|
Loading…
Reference in a new issue