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-screens
一个提供原生基础组件来表示屏幕的库,可实现更好的操作系统行为和屏幕优化。
Android
iOS
tvOS
Web
Included in Expo Go
react-native-screens 提供原生的屏幕原语,用于替代普通的 <View> 组件,以便更好地利用操作系统针对屏幕提供的行为和优化。这项功能由库作者使用,大多数应用开发者不太可能直接使用。它还提供了 React Navigation 的 createNativeStackNavigator 所需的原生组件。
安装
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project. Then, follow the installation instructions provided in the library's README or documentation.
了解更多
访问官方文档
获取 API 及其用法的完整信息。