Expo UI and Router for iOS
Modifiers

colorInvert

Inverts the colors of a view.

colorInvert(inverted)

ParameterTypeDescription
inverted(optional)booleanWhether to invert colors. Default: true

Inverts the colors of 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