From 909a5fee506680e3b2ea9e7957db72c66e7a1ae9 Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Thu, 24 Mar 2022 14:30:13 -0700 Subject: [PATCH] Customize the code gen for the custom button --- styleguide-app/Examples/Menu.elm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/styleguide-app/Examples/Menu.elm b/styleguide-app/Examples/Menu.elm index 58ac0e34..d646d7db 100644 --- a/styleguide-app/Examples/Menu.elm +++ b/styleguide-app/Examples/Menu.elm @@ -99,7 +99,11 @@ view state = , code = toCode "TODO: button code" } , { sectionName = "Menu.custom" - , code = toCode "TODO: button code" + , code = + "\n\t\tMenu.custom <|" + ++ "\n\t\t\t\\buttonAttributes ->" + ++ "\n\t\t\t\tbutton buttonAttributes [ text \"Custom Menu trigger button\" ]" + |> toCode } ] }