0.3.1 • Published 5 years ago
react-smooth-range-input v0.3.1
🎚 React Smooth Range Input
- Butter smooth input range
- Beautiful animation interaction
- Tiny size
Install
$ npm install react-smooth-range-input
Example
Quickstart
import react from 'react';
import Slider from 'react-smooth-range-input';
export default () => <Slider value={1} min={1} max={30} />;
Props
Prop | Type | Required | Description |
---|---|---|---|
value | number | ✓ | current value |
min | number | ✓ | min number range |
max | number | ✓ | max number range |
onChange | Function | on value change callback | |
disabled | boolean | disable the component | |
hasTickMarks | boolean = true | show tick marks only apply to thick type | |
customController | ({ ref: any, value: number }) => React.ReactNode | custom controller: make sure to pass the ref |
0.3.1
5 years ago
0.3.1-beta.2
5 years ago
0.3.1-beta.1
5 years ago
0.3.0
5 years ago
0.3.0-beta.1
5 years ago
0.2.9
5 years ago
0.2.9-beta.1
5 years ago
0.2.8
5 years ago
0.2.7
5 years ago
0.2.6
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.0
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago