@momo-kits/tab-view 0.103.2 → 0.109.1-rc.15

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/package.json +16 -16
  2. package/types.ts +3 -1
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
- "name": "@momo-kits/tab-view",
3
- "version": "0.103.2",
4
- "private": false,
5
- "main": "index.tsx",
6
- "dependencies": {},
7
- "peerDependencies": {
8
- "@momo-kits/foundation": "latest",
9
- "prop-types": "^15.7.2",
10
- "react": "16.9.0",
11
- "react-native": ">=0.55"
12
- },
13
- "devDependencies": {
14
- "@momo-platform/versions": "4.1.11"
15
- },
16
- "license": "MoMo"
17
- }
2
+ "name": "@momo-kits/tab-view",
3
+ "version": "0.109.1-rc.15",
4
+ "private": false,
5
+ "main": "index.tsx",
6
+ "dependencies": {},
7
+ "peerDependencies": {
8
+ "@momo-kits/foundation": "latest",
9
+ "prop-types": "^15.7.2",
10
+ "react": "16.9.0",
11
+ "react-native": ">=0.55"
12
+ },
13
+ "devDependencies": {
14
+ "@momo-platform/versions": "4.1.11"
15
+ },
16
+ "license": "MoMo"
17
+ }
package/types.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import {ReactElement} from 'react';
2
2
  import {PagerViewProps} from 'react-native-pager-view';
3
- import {Animated} from 'react-native';
3
+ import {Animated, ViewStyle} from 'react-native';
4
4
 
5
5
  export type Tab = {
6
6
  /**
@@ -105,6 +105,8 @@ export type TabViewProps = {
105
105
  selectedColor?: string;
106
106
 
107
107
  unselectedColor?: string;
108
+
109
+ style?: ViewStyle;
108
110
  };
109
111
 
110
112
  /**