Expo UI and Router for iOS
Modifiers

backgroundOverlay

Adds a background behind the view.

backgroundOverlay(params)

ParameterTypeDescription
params{ alignment: 'center' | 'top' | 'bottom' | 'leading' | 'trailing', color: Color }Background color and alignment.

Adds a background behind the view.

Returns: ModifierConfig

Works with

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

Sources

The original Expo docs for this page:

On this page