This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 55).
@react-native-community/slider
一个 React Native 组件库,提供访问系统 UI 的滑块控件。
Android
iOS
Web
Included in Expo Go
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-community/sliderIf 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 及其用法的完整信息。