首页指南参考教程

DateTimePicker

提供对系统 UI 的访问以选择日期和时间的组件。

Android
iOS

提供对系统 UI 的访问以选择日期和时间的组件。

¥A component that provides access to the system UI for date and time selection.

安装

¥Installation

Terminal
npx expo install @react-native-community/datetimepicker

If you are installing this in an existing React Native app (bare workflow), start by installing expo in your project. Then, follow the additional instructions as mentioned by library's README under "Installation in bare React Native projects" section.

用法

¥Usage

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

¥See full documentation at react-native-community/react-native-datetimepicker.

Expo 中文网 - 粤ICP备13048890号