Expo UI and Router for iOS
Modifiers

truncationMode

Sets the truncation mode for lines of text that are too long to fit in the available space.

truncationMode(mode)

ParameterTypeDescription
mode'head' | 'middle' | 'tail'The truncation mode that specifies where to truncate the text within the text view, if needed. You can truncate at the beginning, middle, or end of the text view.

Sets the truncation mode for lines of text that are too long to fit in the available space.

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