mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-28 12:25:21 +08:00
fix: fix types for stack config
This commit is contained in:
@@ -7,7 +7,7 @@ import HeaderContainer, {
|
||||
} from '../Header/HeaderContainer';
|
||||
import {
|
||||
NavigationProp,
|
||||
NavigationConfig,
|
||||
NavigationStackConfig,
|
||||
Route,
|
||||
SceneDescriptorMap,
|
||||
} from '../../types';
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
type Props = {
|
||||
navigation: NavigationProp;
|
||||
descriptors: SceneDescriptorMap;
|
||||
navigationConfig: NavigationConfig;
|
||||
navigationConfig: NavigationStackConfig;
|
||||
onTransitionStart?: (
|
||||
current: { index: number },
|
||||
previous: { index: number }
|
||||
|
||||
Reference in New Issue
Block a user