Bläddra i källkod

added drawUnder (#2427)

yogevbd 6 år sedan
förälder
incheckning
6db541cde8

+ 1
- 0
lib/ios/RNNTabBarOptions.m Visa fil

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

+ 1
- 0
lib/ios/RNNTopBarOptions.m Visa fil

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

+ 2
- 0
lib/src/params/options/BottomTabs.js Visa fil

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

+ 2
- 0
lib/src/params/options/TopBar.js Visa fil

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