1 | import type { NavigationRoute, NavigationParams, NavigationScreenConfig, SupportedThemes } from 'react-navigation';
|
2 | import type { StackNavigationProp, StackNavigationOptions } from './vendor/types';
|
3 | export declare type NavigationStackScreenProps<Params = NavigationParams, ScreenProps = unknown> = {
|
4 | theme: SupportedThemes;
|
5 | navigation: StackNavigationProp<NavigationRoute, Params>;
|
6 | screenProps: ScreenProps;
|
7 | };
|
8 | export declare type NavigationStackScreenComponent<Params = NavigationParams, ScreenProps = unknown> = React.ComponentType<NavigationStackScreenProps<Params, ScreenProps>> & {
|
9 | navigationOptions?: NavigationScreenConfig<StackNavigationOptions, StackNavigationProp<NavigationRoute, Params>, ScreenProps>;
|
10 | };
|