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 94d2de2

Browse files
idl-tdeconinckMoOx
authored andcommitted
add route props to BottomTabs Screen component (#26)
1 parent b71bb54 commit 94d2de2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/BottomTabs.re‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,11 @@ module Make = (M: {type params;}) => {
156156
~name: string,
157157
~options: optionsCallback=?,
158158
~initialParams: M.params=?,
159-
~component: React.component({. "navigation": navigation}),
159+
~component: React.component({
160+
.
161+
"navigation": navigation,
162+
"route": route(M.params),
163+
}),
160164
unit
161165
) =>
162166
screenProps =

0 commit comments

Comments
(0)

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