Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IScreenComponentClass<P, S>

The class type for a screen component. Essentially defines some optional static members that you can specify on the class rather than options to registerScreen

Type parameters

  • P

  • S

Hierarchy

  • ComponentClass<P>
    • IScreenComponentClass

Index

Constructors

constructor

  • new IScreenComponentClass(props: P, context?: any): Component<P, S>
  • Parameters

    • props: P
    • Optional context: any

    Returns Component<P, S>

Properties

Optional childContextTypes

childContextTypes: ValidationMap<any>

Optional contextTypes

contextTypes: ValidationMap<any>

Optional defaultProps

defaultProps: Partial<P>

Optional displayName

displayName: undefined | string

Optional getDerivedStateFromProps

getDerivedStateFromProps: GetDerivedStateFromProps<P, S>

Optional propTypes

propTypes: ValidationMap<P>

Optional screenName

screenName: undefined | string

The screen name. This overrides the usage of displayName. displayName overrides the usage of the class name This can be used but it is much better to use the title option when invoking {@link registerScreens}