Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 22db822

Browse files
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‎

Lines changed: 3 additions & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /