![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-double-range-slider
Advanced tools
A customizable React slider used for getting range of values
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
To use this package you just have to install it from npm.
Install library on your device
npm
npm install react-double-range-slider
yarn
yarn add react-double-range-slider
To use this component you have to import RangeSlider from library. Additionally it is recommended to also import default styles.
import { RangeSlider } from "react-double-range-slider";
import "react-double-range-slider/dist/cjs/index.css";
This will probably change in the future to improve user experience.
For example, please refer to the Code sandbox
Name | Type | Required | Default | Description |
---|---|---|---|---|
value | {min: number , max: number } | Array [string ] | Yes | Values used in array | |
onChange | (x: any ) => void ; | Yes | (x: any )=> { min: string , max: string , minIndex: number , maxIndex: number } | Callback function called when the value changes |
formatter | (value: number | string ) => string ; | No | (value) => value; | Function used to change label format |
from | number | string | No | value.min | value[value.length-1] | Default start position |
to | number | string | No | value.max | value[0] | Default end position |
tooltipVisibility | "always" | "hover" | "never" | No | "always" | Tooltip display type |
tooltipPosition | "under" | "over" | No | "over" | Tooltip position |
hasSteps | boolean | No | false | Determines if slider should have steps |
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Zbyszko Sobecki - @sobecki_zbyszko - sobeckizbyszko@gmail.com
Project Link: https://github.com/dziwuj/react-double-range-slider
FAQs
Range slider component for React 18
The npm package react-double-range-slider receives a total of 19 weekly downloads. As such, react-double-range-slider popularity was classified as not popular.
We found that react-double-range-slider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.