Update FunkHub.elm a bit
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
module FunkHub (..) where
|
module FunkHub (..) where
|
||||||
|
|
||||||
import Html exposing (div, button, text)
|
import Html exposing (..)
|
||||||
import Html.Events exposing (onClick)
|
import Html.Events exposing (onClick)
|
||||||
import StartApp.Simple as StartApp
|
import StartApp.Simple as StartApp
|
||||||
|
|
||||||
@@ -16,9 +16,7 @@ model =
|
|||||||
view address model =
|
view address model =
|
||||||
div
|
div
|
||||||
[]
|
[]
|
||||||
[ button [ onClick address Decrement ] [ text "-" ]
|
[ h1 [] [ text "FunkHub" ]
|
||||||
, div [] [ text (toString model) ]
|
|
||||||
, button [ onClick address Increment ] [ text "+" ]
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user