Expo UI and Router for iOS
Modifiers

multilineTextAlignment

An alignment position for text along the horizontal axis.

multilineTextAlignment(alignment)

ParameterTypeDescription
alignment'center' | 'leading' | 'trailing'A value that you use to align multiple lines of text within a view.

An alignment position for text along the horizontal axis.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

This modifier works with any view. These components accept it:

Sources

The original Expo docs for this page:

On this page