Browse Source

added drawUnder (#2427)

yogevbd 6 years ago
parent
commit
6db541cde8

+ 1
- 0
lib/ios/RNNTabBarOptions.m View File

14
 	self.currentTabIndex = [tabBarOptions valueForKey:@"currentTabIndex"];
14
 	self.currentTabIndex = [tabBarOptions valueForKey:@"currentTabIndex"];
15
 	self.testID = [tabBarOptions valueForKey:@"testID"];
15
 	self.testID = [tabBarOptions valueForKey:@"testID"];
16
 	self.currentTabId = [tabBarOptions valueForKey:@"currentTabId"];
16
 	self.currentTabId = [tabBarOptions valueForKey:@"currentTabId"];
17
+	self.drawUnder = [tabBarOptions valueForKey:@"drawUnder"];
17
 	
18
 	
18
 	return self;
19
 	return self;
19
 }
20
 }

+ 1
- 0
lib/ios/RNNTopBarOptions.m View File

24
 	self.animateHide = [topBarOptions valueForKey:@"animateHide"];
24
 	self.animateHide = [topBarOptions valueForKey:@"animateHide"];
25
 	self.largeTitle = [topBarOptions valueForKey:@"largeTitle"];
25
 	self.largeTitle = [topBarOptions valueForKey:@"largeTitle"];
26
 	self.testID = [topBarOptions valueForKey:@"testID"];
26
 	self.testID = [topBarOptions valueForKey:@"testID"];
27
+	self.drawUnder = [topBarOptions valueForKey:@"drawUnder"];
27
 	
28
 	
28
 	return self;
29
 	return self;
29
 }
30
 }

+ 2
- 0
lib/src/params/options/BottomTabs.js View File

7
    * @property {boolean} [hidden]
7
    * @property {boolean} [hidden]
8
    * @property {boolean} [animateHide]
8
    * @property {boolean} [animateHide]
9
    * @property {string} [testID]
9
    * @property {string} [testID]
10
+   * @property {boolean} [drawUnder]
10
    */
11
    */
11
   constructor(params) {
12
   constructor(params) {
12
     if (isEmpty(params)) {
13
     if (isEmpty(params)) {
17
     this.hidden = params.hidden;
18
     this.hidden = params.hidden;
18
     this.animateHide = params.animateHide;
19
     this.animateHide = params.animateHide;
19
     this.testID = params.testID;
20
     this.testID = params.testID;
21
+    this.drawUnder = params.drawUnder;
20
   }
22
   }
21
 }
23
 }
22
 
24
 

+ 2
- 0
lib/src/params/options/TopBar.js View File

15
    * @property {boolean} [blur]
15
    * @property {boolean} [blur]
16
    * @property {boolean} [noBorder]
16
    * @property {boolean} [noBorder]
17
    * @property {boolean} [largeTitle]
17
    * @property {boolean} [largeTitle]
18
+   * @property {boolean} [drawUnder]
18
    */
19
    */
19
   constructor(options) {
20
   constructor(options) {
20
     this.title = options.title;
21
     this.title = options.title;
32
     this.noBorder = options.noBorder;
33
     this.noBorder = options.noBorder;
33
     this.largeTitle = options.largeTitle;
34
     this.largeTitle = options.largeTitle;
34
     this.testID = options.testID;
35
     this.testID = options.testID;
36
+    this.drawUnder = options.drawUnder;
35
   }
37
   }
36
 }
38
 }
37
 
39