react-native-gizwits-scroll-ruler 2.0.1 → 2.0.3

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,13 +1,13 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  android {
4
- compileSdkVersion 23
5
- buildToolsVersion "23.0.1"
4
+ compileSdkVersion 34
5
+ buildToolsVersion "30.0.0"
6
6
 
7
7
 
8
8
  defaultConfig {
9
- minSdkVersion 16
10
- targetSdkVersion 23
9
+ minSdkVersion 24
10
+ targetSdkVersion 34
11
11
  versionCode 1
12
12
  versionName "1.0"
13
13
 
@@ -23,7 +23,7 @@
23
23
  @end
24
24
  @interface RCTScrollRuler : UIView
25
25
 
26
- @property (nonatomic, copy) RCTBubblingEventBlock onSelect;
26
+ @property (nonatomic, copy) RCTDirectEventBlock onSelect;
27
27
 
28
28
  @property(nonatomic,weak)id<RCTScrollRulerDelegate> delegate;
29
29
 
@@ -39,7 +39,7 @@ RCT_EXPORT_VIEW_PROPERTY(unit, NSString);
39
39
 
40
40
  RCT_EXPORT_VIEW_PROPERTY(tintColor, NSString);
41
41
 
42
- RCT_EXPORT_VIEW_PROPERTY(onSelect, RCTBubblingEventBlock)
42
+ RCT_EXPORT_VIEW_PROPERTY(onSelect, RCTDirectEventBlock)
43
43
 
44
44
  RCT_EXPORT_VIEW_PROPERTY(disabled, BOOL);
45
45
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-gizwits-scroll-ruler",
3
- "version": "2.0.1",
4
- "description": "修正安卓滚动条影响",
3
+ "version": "2.0.3",
4
+ "description": "修正ios注册事件",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"