Skip to content

title does not take a function #1370

Open
@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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions