Customize the code gen for the custom button

This commit is contained in:
Tessa Kelly 2022-03-24 14:30:13 -07:00
parent 141a2a84e6
commit 909a5fee50

View File

@ -99,7 +99,11 @@ view state =
, code = toCode "TODO: button code" , code = toCode "TODO: button code"
} }
, { sectionName = "Menu.custom" , { 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
} }
] ]
} }