Skip to content

Commit e6c62f4

Browse files
authored
fix(custom-navigators): incorrect typing for Props (#1039)
1 parent 213dc4c commit e6c62f4

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)