Expo UI and Router for iOS
Modifiers

grayscale

Makes a view grayscale.

grayscale(amount)

ParameterTypeDescription
amountnumberGrayscale amount (0 to 1).

Makes a view grayscale.

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