@jiaozhiye/qm-design-react 1.7.4 → 1.7.5

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.
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  export type IScrollbarContext = {
3
+ dragging: boolean;
3
4
  scrollbarElement: React.RefObject<HTMLElement>;
4
5
  wrapElement: React.RefObject<HTMLElement>;
5
6
  };
@@ -9,6 +9,7 @@ type IProps = {
9
9
  direction?: 'horizontal' | 'vertical';
10
10
  barSize?: number;
11
11
  always?: boolean;
12
+ onDrag?: (value: boolean) => void;
12
13
  };
13
14
  declare const Thumb: React.FC<IProps>;
14
15
  export default Thumb;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiaozhiye/qm-design-react",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",