Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/getScreenName"

Index

Variables

Functions

Variables

Let index

index: number = 0

Functions

getScreenName

  • getScreenName<P>(screen: ScreenComponentClass<P>): string
  • Retrieves the name of the screen. It falls back through the following static variables:

    • screenName
    • displayName
    • name It also works around React Native minification by detecting single lowercase letter screen names

    Type parameters

    • P

    Parameters

    • screen: ScreenComponentClass<P>

    Returns string