From 22db8227688dd08f7e36810351ca3b646dcb0f1a Mon Sep 17 00:00:00 2001 From: freddy Date: Mon, 25 Mar 2024 18:43:40 +0100 Subject: [PATCH] fix BottomsTabs options type --- src/BottomTabs.res | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BottomTabs.res b/src/BottomTabs.res index a5a18ef..1a4620f 100644 --- a/src/BottomTabs.res +++ b/src/BottomTabs.res @@ -30,7 +30,7 @@ type rec options = { tabBarBadgeStyle?: Style.t, tabBarAccessibilityLabel?: string, tabBarTestID?: string, - tabBarButton: unit => React.element, // TODO: props + tabBarButton?: unit => React.element, // TODO: props tabBarColor?: Color.t, tabBarActiveTintColor?: string, tabBarInactiveTintColor?: string, @@ -41,8 +41,8 @@ type rec options = { tabBarStyle?: Style.t, tabBarBackground?: unit => React.element, \"lazy"?: bool, - unmountOnBlur: bool, - freezeOnBlur: bool, + unmountOnBlur?: bool, + freezeOnBlur?: bool, header?: headerParams => React.element, headerShown?: bool, // Header props from https://reactnavigation.org/docs/elements#header