From d8c34c391097189819972ffd7f5454231ec9b2f3 Mon Sep 17 00:00:00 2001 From: Guy Carmeli Date: Fri, 22 Nov 2019 15:24:01 +0200 Subject: [PATCH] Fix BottomTab options types Though icon is required on Android when declaring tabs, it's optional when calling mergeOptions to update tabs. --- lib/src/interfaces/Options.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/interfaces/Options.ts b/lib/src/interfaces/Options.ts index 61562bd4e7c..13ee68940a3 100644 --- a/lib/src/interfaces/Options.ts +++ b/lib/src/interfaces/Options.ts @@ -570,8 +570,9 @@ export interface OptionsBottomTab { testID?: string; /** * Set the tab icon + * Note: On Android `icon` is required */ - icon: ImageRequireSource; + icon?: ImageRequireSource; /** * Set the icon tint */