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

lineSpacing

The distance in points between the bottom of one line fragment and the top of the next.

lineSpacing(value)

ParameterTypeDescription
valuenumberThe amount of space between the bottom of one line and the top of the next line in points. This value is always nonnegative. Otherwise, the default value will be used.

The distance in points between the bottom of one line fragment and the top of the next.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

You can add lineSpacing to any view. It changes what you see on 34 of the 39 components.

No visible effect

These components accept it, but you see no change.

ComponentWhy nothing happens
SpacerIt changes only text, and Spacer shows no text.
DividerIt changes only text, and Divider shows no text.
SliderIt changes only text, and Slider shows no text.
ImageIt changes only text, and Image shows no text.
AccessoryWidgetBackgroundIt changes only text, and AccessoryWidgetBackground shows no text.

Sources

The original Expo docs for this page:

On this page