NativeBase: Navigation inside Tab is not working

Hi I want to open a screen from tab 1 and side menu. There is a button inside tab 1 on which click i want to open other page . I did

tab1click= () => {
        this.props.navigation.navigate("PickupList");
    };

Here from side menu when i am going to that screen then it is working fine but from tab i am getting following issue : -

undefined is not an object (evaluating this.props.navigation.naviagte) cab anyone tell me the exact issue

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

While you define Tabs, you must pass navigation props to corresponding tab

<TabOne navigation={this.props.navigation} />