Skip to content

title does not take a function #1370

@Volper212

Description

@Volper212

https://reactnavigation.org/docs/redux-integration

<Stack.Screen
  name="Test"
  component={TestScreen}
  options={{ title: () => <CounterContainer /> }}
/>

The type of title does not take a function:

title?: string

It should be headerTitle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions