UNPKG

use-react-native-navigation

Version:

A utility library for a easier use of react-native-navigation library.

17 lines 531 B
import { Layout, Options } from 'react-native-navigation'; export declare type NavigationProps<P> = { name: string; passProps?: P; option?: Options; }; export declare const NavigationUtility: { /** * Set single component layout */ setLayoutComponent<P>(props: NavigationProps<P>): Layout<P>; /** * Set stacked component layout */ setLayoutStackComponents<P_1>(childrenProps: NavigationProps<P_1>[], options?: Options | undefined): Layout<{}>; }; //# sourceMappingURL=utility.d.ts.map