diff --git a/lib/ios/RNNTabBarOptions.m b/lib/ios/RNNTabBarOptions.m index 352c7e7a20a..2a59b5d4e17 100644 --- a/lib/ios/RNNTabBarOptions.m +++ b/lib/ios/RNNTabBarOptions.m @@ -14,6 +14,7 @@ -(instancetype)initWithDict:(NSDictionary *)tabBarOptions { self.currentTabIndex = [tabBarOptions valueForKey:@"currentTabIndex"]; self.testID = [tabBarOptions valueForKey:@"testID"]; self.currentTabId = [tabBarOptions valueForKey:@"currentTabId"]; + self.drawUnder = [tabBarOptions valueForKey:@"drawUnder"]; return self; } diff --git a/lib/ios/RNNTopBarOptions.m b/lib/ios/RNNTopBarOptions.m index 3d41258b913..a83c4244674 100644 --- a/lib/ios/RNNTopBarOptions.m +++ b/lib/ios/RNNTopBarOptions.m @@ -24,6 +24,7 @@ -(instancetype)initWithDict:(NSDictionary *)topBarOptions { self.animateHide = [topBarOptions valueForKey:@"animateHide"]; self.largeTitle = [topBarOptions valueForKey:@"largeTitle"]; self.testID = [topBarOptions valueForKey:@"testID"]; + self.drawUnder = [topBarOptions valueForKey:@"drawUnder"]; return self; } diff --git a/lib/src/params/options/BottomTabs.js b/lib/src/params/options/BottomTabs.js index 38791ab2cad..0a82ec32796 100644 --- a/lib/src/params/options/BottomTabs.js +++ b/lib/src/params/options/BottomTabs.js @@ -7,6 +7,7 @@ class BottomTabs { * @property {boolean} [hidden] * @property {boolean} [animateHide] * @property {string} [testID] + * @property {boolean} [drawUnder] */ constructor(params) { if (isEmpty(params)) { @@ -17,6 +18,7 @@ class BottomTabs { this.hidden = params.hidden; this.animateHide = params.animateHide; this.testID = params.testID; + this.drawUnder = params.drawUnder; } } diff --git a/lib/src/params/options/TopBar.js b/lib/src/params/options/TopBar.js index 05eb7870bc3..0da81af5985 100644 --- a/lib/src/params/options/TopBar.js +++ b/lib/src/params/options/TopBar.js @@ -15,6 +15,7 @@ class TopBar { * @property {boolean} [blur] * @property {boolean} [noBorder] * @property {boolean} [largeTitle] + * @property {boolean} [drawUnder] */ constructor(options) { this.title = options.title; @@ -32,6 +33,7 @@ class TopBar { this.noBorder = options.noBorder; this.largeTitle = options.largeTitle; this.testID = options.testID; + this.drawUnder = options.drawUnder; } }