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

listRowSpacing

Sets the vertical spacing between adjacent rows in a list.

listRowSpacing(spacing)

iOS 15+
ParameterTypeDescription
spacing(optional)numberThe spacing value to use. When omitted, the default spacing is used.

Sets the vertical spacing between adjacent rows in a list.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

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

Sources

The original Expo docs for this page:

On this page