Expo UI and Router for iOSExpo SDK 57 and later, iOS only
Modifiers

menuOrder

Sets the preferred order of items for menus presented from this view. With the default automatic order, a menu that opens upward displays its items in reverse. Pass fixed to always keep the order the items were provided in.

ParameterTypeDescription
orderMenuOrderTypeThe preferred menu item ordering.

Sets the preferred order of items for menus presented from this view. With the default automatic order, a menu that opens upward displays its items in reverse. Pass fixed to always keep the order the items were provided in.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

menuOrder is made for these components. On other components it has no effect.

Sources

The original Expo docs for this page:

On this page