Expo UI and Router for iOSExpo SDK 57 and later, iOS only
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

deleteDisabled is made for these components. On other components it has no effect.

Sources

The original Expo docs for this page:

On this page