1 | import type { NavigationState, ParamListBase, PartialState, Route } from '@react-navigation/routers';
|
2 | import type { NavigationProp, RouteConfigComponent } from './types';
|
3 | type Props<State extends NavigationState, ScreenOptions extends {}> = {
|
4 | screen: RouteConfigComponent<ParamListBase, string> & {
|
5 | name: string;
|
6 | };
|
7 | navigation: NavigationProp<ParamListBase, string, string | undefined, State, ScreenOptions>;
|
8 | route: Route<string>;
|
9 | routeState: NavigationState | PartialState<NavigationState> | undefined;
|
10 | getState: () => State;
|
11 | setState: (state: State) => void;
|
12 | options: object;
|
13 | clearOptions: () => void;
|
14 | };
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | export default function SceneView<State extends NavigationState, ScreenOptions extends {}>({ screen, route, navigation, routeState, getState, setState, options, clearOptions, }: Props<State, ScreenOptions>): JSX.Element;
|
20 | export {};
|
21 |
|
\ | No newline at end of file |