Reference version

@react-native-picker/picker

一个跨平台组件,提供访问系统 UI 的能力,用于在多个选项之间进行选择。

Android
iOS
macOS
Web
Included in Expo Go
Bundled version:
2.11.1

For the complete documentation index, see llms.txt. Use this Use this file to discover all available pages.

一个提供系统 UI 访问的组件,可用于在多个选项之间进行选择。

安装

Terminal
npx expo install @react-native-picker/picker

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 及其用法的完整信息。