undefined преди 5 години
родител
ревизия
00152d4eeb
променени са 1 файла, в които са добавени 12 реда и са изтрити 1 реда
  1. 12
    1
      lib/src/interfaces/Options.ts

+ 12
- 1
lib/src/interfaces/Options.ts Целия файл

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