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

gridCellUnsizedAxes

Asks grid layouts not to offer the view extra size in the specified axes.

gridCellUnsizedAxes(axes)

ParameterTypeDescription
axes(optional)'vertical' | 'horizontal'The dimensions in which the grid shouldn’t offer the view a share of any available space. This prevents a flexible view like a Spacer, Divider, or Color from defining the size of a row or column.

Asks grid layouts not to offer the view extra size in the specified axes.

Returns: ModifierConfig

A view that doesn’t ask an enclosing grid for extra size in one or more axes.

Works with

Works only in some places

Works only on a view in a Grid. Grid is in @expo/ui/swift-ui, but it has no Expo docs page.

You can add it to any of these components, but it does something only in the place above.

Sources

The original Expo docs for this page:

On this page