Преглед на файлове

Add props to TopBarButton type (#4373)

Ganesh Datta преди 6 години
родител
ревизия
b369a54a7f
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4
    0
      lib/src/interfaces/Options.ts

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

239
    */
239
    */
240
   component?: {
240
   component?: {
241
     name: string;
241
     name: string;
242
+    /**
243
+     * Properties to pass down to the component
244
+     */
245
+    passProps?: object;
242
   };
246
   };
243
   /**
247
   /**
244
    * Set the button text
248
    * Set the button text