1.4.0
New features
Add a new alignment
parameter on the MenuContent
composable, that controls how the MenuContent
is anchored to the MenuButton
when expanded. (fixed #3)
Example:
Menu {
MenuButton {
BasicText("Toggle the menu")
}
MenuContent(alignment = Alignment.End) {
MenuItem(onClick = { /* TODO */ }) {
BasicText("Option")
}
}
}