Where the menu stands when something else opens it through open: a row whose press opens the menu, with its More drawn as a mark rather than a button, so the web gets no button inside a button. A ListItem with menu sets one up for you.
Prop
Type
Default
Description
children
ReactNode
—
What marks the menu's place: the menu stands at it as at a trigger
style
StyleProp<ViewStyle>
—
Style of the view around the anchor, measured to place the menu
The menu's edge that lines up with the trigger's, or center for the menu centred on it. By default iOS places it as UIKit does, by where the trigger stands (the leading third: its leading edge; the trailing third: its trailing edge; else centred); Android at its start
width
number
250 on iOS
Width of the menu; on Android it fits its items, 196 to 288
multiple
boolean
false
Several options to pick: a press on an item with `checked` checks or unchecks it and the menu stays open; the items read as checkboxes
cover
boolean
true
Opens over the trigger; `false` opens it under the trigger, its top at the trigger's bottom edge, as Material's dropdown menu under a chip
The checkmark of a chosen option; a menu whose items set it (true or false) keeps a column for the checkmark and names its items as radio items
trailing
ReactNode
—
An element at the row's end, after its label (4 after it on iOS, 12 on Android, whose popup widens for it): as a messenger's first row of a message's menu shows who reacted, an AvatarGroup of 24 with cutoutColor="transparent"
onSelect
() => void
—
Called when the item is chosen; the menu closes after it