Skip to content

is renderBottomAccessoryView not available yet? #468

@Dyachenko022

Description

@Dyachenko022

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

Hello guys! Not sure whether a bug report is appropriate here, since it is more so of a question. I've found the new renderBottomAccessoryView prop within the docs, which is marked as experimental, but nonetheless, after trying it out, it seems that such prop doesn't even exist within the latest available version of the library. I've decided to take a look at the source code, and indeed, don't see a mention of this prop anywhere. It appears that 1.0.2 is the latest version available, so I wanted to clear some confusion for myself, is this prop not yet available in the public release?

Library version

1.0.2

Environment info

-

Steps to reproduce

  1. create a native bottom tab navigator using createNativeBottomTabNavigator
  2. add renderBottomAccessoryView prop

Reproducible sample code

const NativeBottomTabs = createNativeBottomTabNavigator({
  screenOptions: {
    lazy: false,
  },
  minimizeBehavior: 'onScrollDown',
  renderBottomAccessoryView:() => {
    console.log('accessory view render func called');
    return (
      <View style={{ height: 60, backgroundColor: 'pink' }}>
        <Text>Accessory view</Text>
      </View>
    );
  }}),

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions