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