Interface GouterNativeProps

interface GouterNativeProps {
    defaultOptions: ScreenOptions;
    reanimated: undefined | boolean;
    routes: Routes<any>;
    screenConfigs: ScreenConfigs<any>;
    state: GouterState<GouterConfig, any>;
}

Properties

defaultOptions: ScreenOptions

Will be used for this state and it's inner states at any depth when screenOptions and screenStackOptions of target state has no defined field.

reanimated: undefined | boolean

If true then react-native-reanimated module will be used for every animation. In this case the reanimation field of screen options should be used instead of animation and getReanimatedValues function should be used instead of getAnimatedValues. Every reanimation and animationEasing should have worklet directive: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#worklet.

routes: Routes<any>

Route configurations for each screen.

screenConfigs: ScreenConfigs<any>

Animation and gestures for each screen.

Root state to start render from.

Generated using TypeDoc