Expo UI and Router for iOS
Modifiers

shadow

Adds a shadow to a view.

shadow(params)

ParameterTypeDescription
params{ color: Color, radius: number, x: number, y: number }The shadow parameters: radius, offset (x, y) and color.

Adds a shadow 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