Is it possible to create menus like this with Jewe...
# jewel
u
Is it possible to create menus like this with Jewel?
s
You should be able to use the Menu API, although I am not 100% sure it supports split actions. @Fabrizio Scarponi do you remember?
👍 1
f
There isn't a ready-to-use solution for this. I suggest extending either
MenuAPI
or
Dropdown
. You could use a public
MenuScope.passiveItem(content: @Composable () -> Unit)
and customize its content behavior. A better solution might be to extend
MenuScope.selectableItem()
with something like
MenuAction.SplitAction
.
👍 1
s
PRs welcome too 😄
💯 1
😅 1