SwipeActions

Swipe actions of a list row (SwiftUI swipeActions(edge:allowsFullSwipe:content:)). Place it inside a List.

Declaration

React
import { SwipeActions } from 'swiftui-react-native';

Parts

Compose these together. Each part renders as part of one SwiftUI view.

React
<SwipeActions.Root>
  children?: ReactNode
</SwipeActions.Root>
  • childrenReactNode

Also takes the common view props: modifiers, style and testID.

Relationships

SwiftUI declarations

Swift
nonisolated func swipeActions<T>(
    edge: HorizontalEdge = .trailing,
    allowsFullSwipe: Bool = true,
    @ContentBuilder content: () -> T
) -> some View
where T : View

See also

More in Views.