DropOperation

Operation types that determine how a drag and drop session resolves when the user drops a drag item.

EnumerationiOS 13.4+macOS 10.15+DropOperation in SwiftUI

Declaration

React
type DropOperation = 'cancel' | 'copy' | 'forbidden' | 'move';
Swift
enum DropOperation

Pass a literal, or build one with SwiftUI.DropOperation from import { SwiftUI } from 'swiftui-react-native'.

Type properties

See also

More in Drag and drop.