This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
SwipeActions
一个用于向行内容添加前置和后置滑动操作的 SwiftUI SwipeActions 组件
iOS
Included in Expo Go
Expo UI SwipeActions 与官方 SwiftUI swipeActions 修饰符相匹配,可让你为行内容添加前置或后置操作。
安装
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
用法
SwipeActionsExample.tsx
API
import { SwipeActions } from '@expo/ui/swift-ui';
Components
Type: React.Element<SwipeActionsProps>
Applies native SwiftUI swipe actions to its non-slot children.
Type: React.Element<SwipeActionsGroupProps>
The buttons revealed when the user swipes the regular content from an edge.