Skip to content

New Feature: Headers #104

Description

@shovel-kun

As stated in the React Navigation docs (6.x and 7.x), @react-navigation/bottom-tabs allows for headers to be displayed and configured alongside the screen content.

However, as @react-navigation/bottom-tabs is a JS implementation, so too are the headers.

Does react-native-bottom-tabs plan to support headers?

If so, there are two ways to approach this:

  1. Use the JS implementation of headers (simpler):
    • We can reuse the same implementation for headers as seen in BottomTabView.tsx.
    • Since we're using the same API as JS Bottom Tabs, headers should work the same way especially animations, etc.
    • However, we might want to make it clear that unlike the bottom tab, headers are JS implementation.
  2. Use native implementation of headers (harder)

Thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions