-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Current behaviour
The title in route.title is displayed in red to indicate that there is an error.
TS2339: Property title does not exist on type NavigationRoute<ParamListBase, string>
Suppress with @ts-ignore | More actions...
title?: string | undefined
react-native-paper
Expected behaviour
No error message is displayed.
How to reproduce?
Redo the example from https://callstack.github.io/react-native-paper/docs/components/BottomNavigation/BottomNavigationBar.
Preview
What have you tried so far?
Using @ts-ignore does not change anything.
Your Environment
| software | version |
|---|---|
| IntelliJ IDEA | 2024.1.4 (Ultimate Edition) |
| android | 14 |
| react-native | 0.74.3 |
| react-native-paper | ^5.12.3 |
| node | 20.15.0 |
| npm | 10.8.2 |
| expo sdk | ? |