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,7 +312,7 @@ export interface OptionsTopBarButton {
312 312
   testID?: string;
313 313
   /**
314 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 317
   showAsAction?: 'ifRoom' | 'withText' | 'always' | 'never';
318 318
 }
@@ -513,7 +513,18 @@ export interface OptionsBottomTabs {
513 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 525
 export interface OptionsBottomTab {
526
+    dotIndicator?: DotIndicatorOptions,
527
+
517 528
   /**
518 529
    * Set the text to display below the icon
519 530
    */