Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

title does not take a function #1370

Open
Volper212 opened this issue Aug 31, 2024 · 0 comments
Open

title does not take a function #1370

Volper212 opened this issue Aug 31, 2024 · 0 comments

Comments

@Volper212
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant