From b369a54a7f2ee4ca67ee0f973f26f9b447c79742 Mon Sep 17 00:00:00 2001 From: Ganesh Datta Date: Sun, 2 Dec 2018 01:33:51 -0800 Subject: [PATCH] Add props to TopBarButton type (#4373) --- lib/src/interfaces/Options.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/interfaces/Options.ts b/lib/src/interfaces/Options.ts index 75383ffae47..ece3631f7dc 100644 --- a/lib/src/interfaces/Options.ts +++ b/lib/src/interfaces/Options.ts @@ -239,6 +239,10 @@ export interface OptionsTopBarButton { */ component?: { name: string; + /** + * Properties to pass down to the component + */ + passProps?: object; }; /** * Set the button text