# slider-input-react

> slider input component for react application

Latest version **1.0.2** (published 2020-03-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install slider-input-react
pnpm add slider-input-react
yarn add slider-input-react
bun add slider-input-react
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-03-07 |
| First published | 2020-03-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Official-Rahul |
| Maintainers | official-rahul |

## Links

- npm: https://www.npmjs.com/package/slider-input-react
- Repository: https://github.com/Official-Rahul/slider-input-react
- Issues: https://github.com/Official-Rahul/slider-input-react/issues
- npm.io page: https://npm.io/package/slider-input-react

## Recent versions

- 1.0.2 (latest) — 2020-03-07
- 1.0.1 — 2020-03-07
- 1.0.0 — 2020-03-07

## README

# Slider Input React

Slider Input React is a slider input component for your react application.
Below are the simple steps for installing and using Slider Input React.


## `Latest version`

1.0.2


## `How to install`

npm install slider-input-react


## `How to use`

### `Import`

```
import { SliderInputReact } from "slider-input-react";

```

### `Render basic component`

```
<SliderInputReact />
```

### `Render component with props`

```
import React, { Component } from 'react'
import './App.css';
import SliderInputComponent from 'slider-input-react';

export class App extends Component {
  constructor(props) {
    super(props)
  
    this.state = {
       value:10,
       min:0,
       max:100
    }
  }
  

  changeHandler=(e)=>{
    this.setState({
      value:e.target.value
    })
  }

  render() {
    const {min, max, value}=this.state;
    return (  
      <div className="App">
        <SliderInputComponent
          min={min}
          max={max}
          value={value}
          changeHandler={this.changeHandler}
        ></SliderInputComponent>
      </div>
    )
  }
}

export default App

```


## `Home page`

[https://github.com/Official-Rahul/slider-input-react](https://github.com/Official-Rahul/slider-input-react)


## `Github Repo`

[https://github.com/Official-Rahul/slider-input-react](https://github.com/Official-Rahul/slider-input-react)


## `Npm link`

[https://www.npmjs.com/package/slider-input-react](https://www.npmjs.com/package/slider-input-react)

---
_Source: https://npm.io/package/slider-input-react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
