diff --git a/docs/docs/options/BottomTab.md b/docs/docs/options/BottomTab.md index d8b87f4b967..6081e22f0d3 100644 --- a/docs/docs/options/BottomTab.md +++ b/docs/docs/options/BottomTab.md @@ -9,4 +9,5 @@ | icon | object | | visible | boolean | | badge | string | +| testID | string | diff --git a/docs/docs/options/BottomTabs.md b/docs/docs/options/BottomTabs.md index 2dbbebab7de..6ac26dc8696 100644 --- a/docs/docs/options/BottomTabs.md +++ b/docs/docs/options/BottomTabs.md @@ -8,4 +8,5 @@ | currentTabIndex | number | | hidden | boolean | | animateHide | boolean | +| testID | string | diff --git a/docs/docs/options/TopBar.md b/docs/docs/options/TopBar.md index ed632d9413e..8706212b4a4 100644 --- a/docs/docs/options/TopBar.md +++ b/docs/docs/options/TopBar.md @@ -5,12 +5,18 @@ | Name | Type | | --- | --- | | title | string | -| backgroundColor | color | -| textColor | color | +| backgroundColor | string | +| textColor | string | +| buttonColor | string | | textFontSize | number | | textFontFamily | string | +| testID | string | | hidden | boolean | | animateHide | boolean | | hideOnScroll | boolean | | transparent | boolean | +| translucent | boolean | +| blur | boolean | +| noBorder | boolean | +| largeTitle | boolean | diff --git a/lib/src/params/options/BottomTab.js b/lib/src/params/options/BottomTab.js index f3021a73871..9394af13ec0 100644 --- a/lib/src/params/options/BottomTab.js +++ b/lib/src/params/options/BottomTab.js @@ -7,6 +7,7 @@ class BottomTab { * @property {object} [icon] * @property {boolean} [visible] * @property {string} [badge] + * @property {string} [testID] */ constructor(params) { if (isEmpty(params)) { @@ -17,6 +18,8 @@ class BottomTab { this.title = params.title; this.icon = params.icon; this.visible = params.visible; + this.testID = params.testID; + this.tag = params.tag; } } diff --git a/lib/src/params/options/BottomTabs.js b/lib/src/params/options/BottomTabs.js index e8957227dea..38791ab2cad 100644 --- a/lib/src/params/options/BottomTabs.js +++ b/lib/src/params/options/BottomTabs.js @@ -6,6 +6,7 @@ class BottomTabs { * @property {number} [currentTabIndex] * @property {boolean} [hidden] * @property {boolean} [animateHide] + * @property {string} [testID] */ constructor(params) { if (isEmpty(params)) { @@ -15,6 +16,7 @@ class BottomTabs { this.currentTabIndex = params.currentTabIndex; this.hidden = params.hidden; this.animateHide = params.animateHide; + this.testID = params.testID; } } diff --git a/lib/src/params/options/TopBar.js b/lib/src/params/options/TopBar.js index 0afd4487fa5..05eb7870bc3 100644 --- a/lib/src/params/options/TopBar.js +++ b/lib/src/params/options/TopBar.js @@ -1,14 +1,20 @@ class TopBar { /** * @property {string} [title] - * @property {color} [backgroundColor] - * @property {color} [textColor] + * @property {string} [backgroundColor] + * @property {string} [textColor] + * @property {string} [buttonColor] * @property {number} [textFontSize] * @property {string} [textFontFamily] + * @property {string} [testID] * @property {boolean} [hidden] * @property {boolean} [animateHide] * @property {boolean} [hideOnScroll] * @property {boolean} [transparent] + * @property {boolean} [translucent] + * @property {boolean} [blur] + * @property {boolean} [noBorder] + * @property {boolean} [largeTitle] */ constructor(options) { this.title = options.title; @@ -20,6 +26,12 @@ class TopBar { this.animateHide = options.animateHide; this.hideOnScroll = options.hideOnScroll; this.transparent = options.transparent; + this.translucent = options.translucent; + this.buttonColor = options.buttonColor; + this.blur = options.blur; + this.noBorder = options.noBorder; + this.largeTitle = options.largeTitle; + this.testID = options.testID; } }