Pārlūkot izejas kodu

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

Mathieu M-Gosselin 6 gadus atpakaļ
vecāks
revīzija
d17f687514
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4
    0
      lib/src/interfaces/Options.ts

+ 4
- 0
lib/src/interfaces/Options.ts Parādīt failu

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