滑块

一个 React Native 组件库,提供对滑块控件的系统 UI 的访问。

Android
iOS
Web
Bundled version:
4.5.5

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

一个组件库,它提供对滑块控件的系统 UI 的访问,允许用户通过拖动锚点在一系列值中进行选择。

¥A component library that provides access to the system UI for a slider control, that allows users to pick among a range of values by dragging an anchor.

安装

¥Installation

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

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.

用法

¥Usage

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

¥See full documentation at @react-native-community/slider.