react-native-navigation
Version:
React Native Navigation - truly native navigation for iOS and Android
30 lines • 1.73 kB
TypeScript
import * as React from 'react';
interface ApplicationProps {
entryPoint: () => void;
}
export declare const Application: {
new (props: ApplicationProps): {
render(): React.JSX.Element;
context: unknown;
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<ApplicationProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<ApplicationProps>;
state: Readonly<{}>;
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<ApplicationProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<ApplicationProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly<ApplicationProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<ApplicationProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<ApplicationProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<ApplicationProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<ApplicationProps>, nextState: Readonly<{}>, nextContext: any): void;
};
contextType?: React.Context<any> | undefined;
propTypes?: any;
};
export {};
//# sourceMappingURL=Application.d.ts.map