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

gridCellColumns

Tells a view that acts as a cell in a grid to span the specified number of columns.

gridCellColumns(count)

ParameterTypeDescription
count(optional)numberThe number of columns that the view should consume when placed in a grid row.

Tells a view that acts as a cell in a grid to span the specified number of columns.

Returns: ModifierConfig

A view that occupies the specified number of columns in a grid row.

Works with

Works only in some places

Works only on a view in a Grid.Row. 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