Socket
Socket
Sign inDemoInstall

@blaze-react/range-filter

Package Overview
Dependencies
11
Maintainers
8
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @blaze-react/range-filter

Set a number within a range with a slider.


Version published
Weekly downloads
203
increased by47.1%
Maintainers
8
Install size
183 kB
Created
Weekly downloads
 

Readme

Source

Description

Set a number within a range with a slider.

Usage

  • With two moveable handlers and custom step value
const value = {
  max: 20,
  min: 0,
  step: 1,
  minValue: 5,
  maxValue: 10
}

<RangeFilter
  label="Choose a range"
  value={value}
  onChange={({ event, value }) => {}}
/>;

API

RangeFilter can receive a number of props as follow:
NAMETYPEDEFAULT
labelStringempty
nameStringrequired
valueobject{min, max, step, minValue, maxValue}
validationMessageStringThis field is required
requiredBooleanfalse
errorBooleanfalse
onChangeFunction() => {}

FAQs

Last updated on 09 Dec 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc