From 217bc520d4efe7dcadafc91b2dd8d794929e8655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Debois?= Date: Tue, 12 Apr 2016 17:00:08 +0200 Subject: [PATCH] Fixed component dependency on Model a --- examples/Component.elm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/Component.elm b/examples/Component.elm index bc394f5..ce4f51a 100644 --- a/examples/Component.elm +++ b/examples/Component.elm @@ -14,7 +14,7 @@ import Material.Button as Button type alias Model = { count : Int - , mdl : Material.Model Action + , mdl : Material.Model -- Boilerplate: mdl is the Model store for any and all MDL components you need. } @@ -64,7 +64,8 @@ update action model = -- VIEW -type alias Mdl = Material.Model Action +type alias Mdl = + Material.Model {- We construct the instances of the Button component that we need, one