Skip to content

Commit 9d61942

Browse files
committed
fix(custom-navigators): incorrect typing for Props
1 parent d99d0ef commit 9d61942

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

versioned_docs/version-6.x/custom-navigators.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,12 @@ type TabNavigationEventMap = {
220220
};
221221

222222
// The props accepted by the component is a combination of 3 things
223-
type Props = DefaultNavigatorOptions<TabNavigationOptions> &
223+
type Props = DefaultNavigatorOptions<
224+
ParamListBase,
225+
TabNavigationState<ParamListBase>,
226+
TabNavigationOptions,
227+
TabNavigationEventMap
228+
> &
224229
TabRouterOptions &
225230
TabNavigationConfig;
226231

0 commit comments

Comments
 (0)