Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-slider-picker

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-slider-picker - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

2

package.json
{
"name": "react-native-slider-picker",
"version": "1.0.16",
"version": "1.0.17",
"description": "Custom range slide picker for React Native. 🚧 UNDER CONSTRUCTION 🚧",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -5,8 +5,19 @@ /**

* @module /SliderPicker
* @description Generic pre-styled slide picker input. Value goes from 0 to 10.
* @description Generic pre-styled slide picker input.
* @param {String} buttonBackgroundColor - Optional. Sets background color of Slider's button. Can pass valid React Native color keywords, hexidecimal, rgb(), or rgba() values. Defaults to "gray".
* @param {String} buttonBorderColor - Optional. Sets border color of Slider's button. Can pass valid React Native color keywords, hexidecimal, rgb(), or rgba() values. Defaults to "gray".
* @param {Function} callback - Optional. Called on change. Defaults to '() => {}'.
* @param {Number} defaultValue - Optional. Default value. Defaults to `5`.
* @param {String} fillColor - Optional. Sets fill color of inner slider. Can pass valid React Native color keywords, hexidecimal, rgb(), or rgba() values. Defaults to "#feb53f".
* @param {Number} height - Optional. Percentage of device's viewport to set as component's height. TO DO: Set minimum and maximum
* @param {String} labelFontColor - Optional. Sets font color of labels if they are displayed. Can pass valid React Native color keywords, hexidecimal, rgb(), or rgba() values. Defaults to "gray".
* @param {String} midLabel - Optional. Label for the medium value.
* @param {String} minLabel - Optional. Label for the minimum value.
* @param {String} midLabel - Optional. Label for the medium value.
* @param {Number} minValue - Optional. The minimum value/low end of range for the Slider. Defaults to `0`.
* @param {String} maxLabel - Optional. Label for the maximum value.
* @param {Number} defaultValue - Optional. Default value. Defaults to 5.
* @param {Function} callback - Optional. Called on change. Defaults to '() => {}'.
* @param {Number} maxValue - Optional. The maximum value/high end of range for the Slider. Defaults to `10`.
* @param {String} scaleNumberFontColor - Optional. Sets font color of scale numbers if they are displayed. Can pass valid React Native color keywords, hexidecimal, rgb(), or rgba() values. Defaults to "#6c7682".
* @param {Boolean} showFill - Optional. Boolean value to determine whether or not the slider inner shows a fill or if it is transparent. Defaults to `true`.
* @param {Boolean} showScale - Optional. Boolean value to determine whether or not to display scale of numbers for the Slider's range. Defaults to `false`.
* @param {Number} width - Optional. Percentage of device's viewport to set as component's width. TO DO: Set minimum and maximum
*/

@@ -104,3 +115,2 @@

console.log(<SliderPickerCursor />);
//

@@ -107,0 +117,0 @@ // Render line-separators and numbers

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc