Expo UI and Router for iOS
Modifiers

badge

Generates a badge for the view from a localized string key.

badge(value)

ParameterTypeDescription
value(optional)stringText view to display as a badge. Set the value to nil to hide the badge.

Generates a badge for the view from a localized string key.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

Sources

The original Expo docs for this page:

On this page