Current behaviour
The attribute "Bar" does not exist on the type "{({navigationState, renderScene, renderIcon, renderLabel, renderTouchable, getLabelText, getBadge, getColor, getAccessibilityLabel, getTestID, activeColor, inactive Color, keyboardHidesNavigationBar, barStyle, labeled, style, sceneAnimationEnabled, sceneAnimationType, sceneAnimationEasing, onTabPress, onIndexChange...)".
Expected behaviour
TS dont throw any error
How to reproduce?
Just copy the sample code from Here and paste into a tsx file
Preview


What have you tried so far?
nothing
Your Environment
| software |
version |
| ios |
x |
| android |
9(MIUI 11) |
| react-native |
^0.71.3 |
| react-native-paper |
^5.2.0 |
| node |
v19.6.0 |
| npm or yarn |
9.4.0 |
| expo sdk |
x.x.x |
| typescript |
4.8.4 |
Current behaviour
The attribute "Bar" does not exist on the type "{({navigationState, renderScene, renderIcon, renderLabel, renderTouchable, getLabelText, getBadge, getColor, getAccessibilityLabel, getTestID, activeColor, inactive Color, keyboardHidesNavigationBar, barStyle, labeled, style, sceneAnimationEnabled, sceneAnimationType, sceneAnimationEasing, onTabPress, onIndexChange...)".
Expected behaviour
TS dont throw any error
How to reproduce?
Just copy the sample code from Here and paste into a tsx file
Preview
What have you tried so far?
nothing
Your Environment