mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-23 21:52:05 +03:00
Customize the code gen for the custom button
This commit is contained in:
parent
141a2a84e6
commit
909a5fee50
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user