Type alias ViewWrapperProps

ViewWrapperProps: {
    bottomBackgroundColor?: string;
    children?: React.ReactNode;
    componentProps?: ViewProps;
    hasBottomNavigation?: boolean;
    hasTopNavigation?: boolean;
    statusBarStyle?: "light-content" | "dark-content";
    topBackgroundColor?: string;
}

Props for ViewWrapper component

Type declaration

  • Optional bottomBackgroundColor?: string

    Override bottom background (for custom uses)

  • Optional children?: React.ReactNode

    Children to load

  • Optional componentProps?: ViewProps

    Direct props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this.

  • Optional hasBottomNavigation?: boolean

    Indicate if bottom navigation is in use (BottomNavigationBar or any BottomToolbar)

  • Optional hasTopNavigation?: boolean

    Indicate if top navigation is in use (TopNavigationBar)

  • Optional statusBarStyle?: "light-content" | "dark-content"

    Override default status bar style (for dark backgrounds use 'light-content' and for light background use 'dark-content'). Will rely on useDarkMode otherwise

  • Optional topBackgroundColor?: string

    Override top background (for custom uses)

Generated using TypeDoc