Browse Source

Add props to TopBarButton type (#4373)

Ganesh Datta 6 years ago
parent
commit
b369a54a7f
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      lib/src/interfaces/Options.ts

+ 4
- 0
lib/src/interfaces/Options.ts View File

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