Procházet zdrojové kódy

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

Mathieu M-Gosselin před 6 roky
rodič
revize
d17f687514
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4
    0
      lib/src/interfaces/Options.ts

+ 4
- 0
lib/src/interfaces/Options.ts Zobrazit soubor

@@ -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
    */