Skip to content

BottomNavigation.Bar is missing #3755

@yuameshi

Description

@yuameshi

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

image
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions