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

@saidaitdriss/multirangeslider

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saidaitdriss/multirangeslider

react multi range slider

  • 1.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

multiRangeSlider

blue red

Installation

npm i @saidaitdriss/multirangeslider

usage

import

import MultiRangeSlider from "@saidaitdriss/multirangeslider";

set up

<MultiRangeSlider
        min={0}
        max={100}
        onChange={(min, max) => {
            console.log("min : ",min)
            console.log("max : ",max)
        }}
        leftValue={29}
        rightValue={100}
        currency={"€"}
      />

min : the minimum value of the range max : the maximum value of the range onChange : method to execute when the value of min or max changed leftValue : the left value of the range rightValue : the right value of the range currency : the symbol of the price

Other options

Namedescriptiondefault
containerStylethe style of the container{ display: "flex", alignItems: "center", justifyContent: "center", paddingBottom: "14px", paddingTop: "14px", width: "300px", }
rangeStylethe style of the range{ backgroundColor: "red" }
valuesStylethe style of left and right values{ color: "red", fontSize: "12px" }

Keywords

FAQs

Package last updated on 30 Jan 2023

Did you know?

Socket

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.

Install

Related posts

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