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

resizable

Sets the mode by which SwiftUI resizes an image to fit its space.

resizable(capInsets, resizingMode)

ParameterTypeDescription
capInsets(optional){ bottom: number, leading: number, top: number, trailing: number }Inset values that indicate a portion of the image that SwiftUI doesn’t resize.
resizingMode(optional)'stretch' | 'tile'The mode by which SwiftUI resizes the image.

Sets the mode by which SwiftUI resizes an image to fit its space.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

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

Sources

The original Expo docs for this page:

On this page