Expo UI and Router for iOS
Modifiers

deleteDisabled

Disables the delete action for a view in a list. Apply to items within a ForEach to prevent them from being deleted.

deleteDisabled(disabled)

ParameterTypeDescription
disabled(optional)booleanWhether deletion should be disabled. Default: true

Disables the delete action for a view in a list. Apply to items within a ForEach to prevent them from being deleted.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

Sources

The original Expo docs for this page:

On this page