@ray-js/lamp-style-slider 0.0.2-beta-7 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -68,7 +68,7 @@ function OpacitySlider(props) {
68
68
  }).run;
69
69
  var endRefValue = useRef(-1);
70
70
  var instanceId = useRef("Color_".concat(String(+new Date()).slice(-4), "_").concat(String(Math.random()).slice(-2)));
71
- var _useState = useState(value),
71
+ var _useState = useState(-1),
72
72
  _useState2 = _slicedToArray(_useState, 2),
73
73
  controllerValue = _useState2[0],
74
74
  setControllerValue = _useState2[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/lamp-style-slider",
3
- "version": "0.0.2-beta-7",
3
+ "version": "0.0.2",
4
4
  "description": "照明样式的基础滑动条",
5
5
  "main": "lib/index",
6
6
  "files": [