Declaration
import { SwipeActions } from 'swiftui-react-native';Parts
Compose these together. Each part renders as part of one SwiftUI view.
<SwipeActions.Root>
children?: ReactNode
</SwipeActions.Root>childrenReactNode
Also takes the common view props: modifiers, style and testID.
Relationships
SwiftUI declarations
nonisolated func swipeActions<T>(
edge: HorizontalEdge = .trailing,
allowsFullSwipe: Bool = true,
@ContentBuilder content: () -> T
) -> some View
where T : ViewSee also
More in Views.
- ArrangementViewA view that arranges primary and secondary content using an adaptive layout that responds to the environment.
- ControlGroupA container view that displays semantically-related controls in a visually-appropriate manner for the context
- DividerA visual element that can be used to separate other content.
- EditButtonA button that toggles the edit mode environment value.
- EmptyViewA view that doesn't contain any content.
- GaugeA view that shows a value within a range.
- GroupA type that collects multiple instances of a content type --- like views, scenes, or commands --- into a single unit.
- GroupBoxA stylized view, with an optional label, that visually collects a logical grouping of content.
- RenameButtonA button that triggers a standard rename action.
- TimelineViewA view that updates according to a schedule that you provide.
- ViewThatFitsA view that adapts to the available space by providing the first child view that fits.