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 b71bb54

Browse files
idl-tdeconinckMoOx
authored andcommitted
add route params to Drawer screen component props (#26)
1 parent 1bc03b8 commit b71bb54

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/Drawer.re‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,11 @@ module Make = (M: {type params;}) => {
109109
~name: string,
110110
~options: optionsCallback=?,
111111
~initialParams: M.params=?,
112-
~component: React.component({. "navigation": navigation}),
112+
~component: React.component({
113+
.
114+
"navigation": navigation,
115+
"route": route(M.params),
116+
}),
113117
unit
114118
) =>
115119
screenProps =

0 commit comments

Comments
(0)

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