Browse Source

Added `badgeColor` typing for `OptionsBottomTab` (#4245)

Mathieu M-Gosselin 6 years ago
parent
commit
d17f687514
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      lib/src/interfaces/Options.ts

+ 4
- 0
lib/src/interfaces/Options.ts View File

@@ -433,6 +433,10 @@ export interface OptionsBottomTab {
433 433
    * Set the text in a badge that is overlayed over the component
434 434
    */
435 435
   badge?: string;
436
+  /**
437
+   * Set the background color of the badge that is overlayed over the component
438
+   */
439
+  badgeColor?: string;
436 440
   /**
437 441
    * Set a testID to reference the tab in E2E tests
438 442
    */