JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 204
  • Score
    100M100P100Q83974F
  • License MIT

The native slider for react native with multiple markers

Package Exports

  • react-native-range-slider

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-range-slider) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Native Range Slider

The high-quality native iOS range slider for react native. A slider, similar in style to UISlider, but which allows you to pick a minimum and maximum range.

Getting Started

  1. Installation

    • Using npm: npm install --save react-native-range-slider
    • Using yarn: yarn add react-native-range-slider
  2. Link

Usage

import RangeSlider from 'react-native-range-slider'
<View style={{flex: 1, flexDirection: 'row'}}>
 <RangeSlider
   minValue={0}
   maxValue={100}
   selectedMinimum={20}
   selectedMaximum={40}
   style={{ flex: 1, height: 70, padding: 10, backgroundColor: '#ddd' }}
   onChange={this.priceChange}
 />
</View>

Todo

  • Add possibility to update markers color related properties.
  • Impliment other necessary methods.
  • Improve the documentation and add examples.
  • Make the module cooler.

Credits

  • Thanks to the creator of the module TTRangeSlider, which this module is based on.

How to contribute ?

You are interested and want to contribute? Awesome, just consider the following steps:

  1. Fork this repository.
  2. Add and test the fixes/improvements you want to add
  3. Submit your pull request(PR).