Expo UI and Router for iOS
Modifiers

offset

Applies an offset (translation) to a view.

offset(params)

ParameterTypeDescription
params{ x: number, y: number }The offset parameters: x and y.

Applies an offset (translation) to a view.

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