Options
All
  • Public
  • Public/Protected
  • All
Menu

Module screens/TitleOffsetOptions

Index

Variables

Const TITLE_LEFT_OFFSET

TITLE_LEFT_OFFSET: 60 = 60

Fixes the "bug" where the title of screens with a back arrow would have a large gap between the title and back arrow. This is fixed by manually setting the left side offset of the title container and must be set on ALL screens that has a back arrow.

I.e.:

<Stack.Screen ... options={..., ...TitleOffsetOptions} />

Const default

default: { headerTitleContainerStyle: { left: number } } = ...

Type declaration

  • headerTitleContainerStyle: { left: number }
    • left: number

Generated using TypeDoc