React Native 选择器

一个跨平台组件,提供对系统 UI 的访问,以便在多个选项之间进行选择。

Android
iOS
macOS
Web

该库在 Expo SDK 参考中列出,因为它包含在 Expo 中。你可以将你选择的任何库与 开发构建 一起使用。

提供对系统 UI 的访问以在多个选项之间进行选择的组件。

¥A component that provides access to the system UI for picking between several options.

安装

¥Installation

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

If you are installing this in an existing React Native app, start by installing expo in your project. Then, follow the additional instructions provided by the library's README or documentation.

用法

¥Usage

请参阅 react-native-picker/picker 处的完整文档。

¥See complete documentation at react-native-picker/picker.