This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.

直接替代品

作为流行 React Native 社区库的即插即用替代品的组件和 API。

Android
iOS
Web
Included in Expo Go
Recommended version:
~57.0.3

以下组件提供与流行的 React Native 社区库兼容的 API 替代方案,由 @expo/ui 原生组件驱动(在 Android 上使用 Jetpack Compose,在 iOS 上使用 SwiftUI)。

🌐 The following components provide API-compatible replacements for popular React Native community libraries, powered by @expo/ui native components (Jetpack Compose on Android and SwiftUI on iOS).

  • BottomSheet:与 @gorhom/bottom-sheet 兼容
  • 日期时间选择器:兼容 @react-native-community/datetimepicker
  • MaskedView:与 @react-native-masked-view/masked-view 兼容
  • 菜单:与 @react-native-menu/menu 兼容
  • PagerView:兼容 react-native-pager-view
  • 选择器:与 @react-native-picker/picker 兼容
  • 分段控制:兼容 @react-native-segmented-control/segmented-control
  • 滑块:与 @react-native-community/slider 兼容