Browse Source

Update OptionsBottomTab (#5340)

undefined 5 years ago
parent
commit
00152d4eeb
1 changed files with 12 additions and 1 deletions
  1. 12
    1
      lib/src/interfaces/Options.ts

+ 12
- 1
lib/src/interfaces/Options.ts View File

312
   testID?: string;
312
   testID?: string;
313
   /**
313
   /**
314
    * (Android only) Set showAsAction value
314
    * (Android only) Set showAsAction value
315
-   * @see {@link https://developer.android.com/guide/topics/resources/menu-resource|Android developer guide: Menu resource} 
315
+   * @see {@link https://developer.android.com/guide/topics/resources/menu-resource|Android developer guide: Menu resource}
316
    */
316
    */
317
   showAsAction?: 'ifRoom' | 'withText' | 'always' | 'never';
317
   showAsAction?: 'ifRoom' | 'withText' | 'always' | 'never';
318
 }
318
 }
513
   elevation?: AndroidDensityNumber;
513
   elevation?: AndroidDensityNumber;
514
 }
514
 }
515
 
515
 
516
+export interface DotIndicatorOptions {
517
+    // default red
518
+    color?: Color,
519
+    // default 6
520
+    size?: number,
521
+    // default false
522
+    visible?: boolean,
523
+}
524
+
516
 export interface OptionsBottomTab {
525
 export interface OptionsBottomTab {
526
+    dotIndicator?: DotIndicatorOptions,
527
+
517
   /**
528
   /**
518
    * Set the text to display below the icon
529
    * Set the text to display below the icon
519
    */
530
    */