@ray-js/lamp-percent-slider
v0.0.6
Published
百分比滑动条
Downloads
246
Readme
English | 简体中文
@ray-js/lamp-percent-slider
Percent Slider
Installation
$ npm install @ray-js/lamp-percent-slider
# or
$ yarn add @ray-js/lamp-percent-slider
Usage
import PercentSlider from '@ray-js/lamp-percent-slider';
const [value, onChange] = useState(30);
<PercentSlider value={value} onTouchEnd={onChange} />;