Skip to content

It is slider component to take the value from a specific user defined range

Notifications You must be signed in to change notification settings

shekharramola/react-input-range-slider

Repository files navigation

react-input-range-slider

It is slider component to take the value from a specific user defined range

NPM JavaScript Style Guide

Install

npm install --save react-input-range-slider

Usage

import React, { Component } from 'react'

import SliderComponent from 'react-input-range-slider'
import 'react-input-range-slider/dist/index.css'

const App = () => {
  const getCurrentValue = (value) => {
    console.log(value)
  }
  return (
    <SliderComponent
      min={0}
      max={100}
      step={1}
      value={15}
      callback={(value) => getCurrentValue(value)}
    />
  )
}

export default App;

License

GNU General Public License v3.0 © shekharramola

About

It is slider component to take the value from a specific user defined range

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published