Explorar el Código

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

Mathieu M-Gosselin hace 6 años
padre
commit
d17f687514
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      lib/src/interfaces/Options.ts

+ 4
- 0
lib/src/interfaces/Options.ts Ver fichero

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