Skip to content

Commit 22db822

Browse files
committed
fix BottomsTabs options type
1 parent dd74958 commit 22db822

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/BottomTabs.res

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type rec options = {
3030
tabBarBadgeStyle?: Style.t,
3131
tabBarAccessibilityLabel?: string,
3232
tabBarTestID?: string,
33-
tabBarButton: unit => React.element, // TODO: props
33+
tabBarButton?: unit => React.element, // TODO: props
3434
tabBarColor?: Color.t,
3535
tabBarActiveTintColor?: string,
3636
tabBarInactiveTintColor?: string,
@@ -41,8 +41,8 @@ type rec options = {
4141
tabBarStyle?: Style.t,
4242
tabBarBackground?: unit => React.element,
4343
\"lazy"?: bool,
44-
unmountOnBlur: bool,
45-
freezeOnBlur: bool,
44+
unmountOnBlur?: bool,
45+
freezeOnBlur?: bool,
4646
header?: headerParams => React.element,
4747
headerShown?: bool,
4848
// Header props from https://reactnavigation.org/docs/elements#header

0 commit comments

Comments
 (0)