Expo UI and Router for iOS
Modifiers

minimumScaleFactor

Sets the minimum amount that text in this view scales down to fit in the available space.

minimumScaleFactor(factor)

ParameterTypeDescription
factornumberA fraction between 0 and 1 (including 0 and 1) that specifies the amount of text to draw. For example, a value of 0.5 draws the text in a font size as small as half the actual font if needed.

Sets the minimum amount that text in this view scales down to fit in the available space.

Use this modifier if the text you place in a view doesn't fit and it's okay if the text shrinks to accommodate. For example, a label with a minimum scale factor of 0.5 draws its text in a font size as small as half of the actual font if needed.

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