react-navigation / react-navigation/react-navigation

Material Top Tab Navigator missing tabBarButton option

Open
#8,377 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug package:material-top-tabs
Dominant language
TypeScript
Stars
24.5k
Forks
5.1k
Avg merge
1d 5h
Merged PRs (30d)
18

Description

There is currently no tabBarButton under the options prop for createMaterialTopTabNavigator, is there any other way to customize or style the individual tabs on the tab bar (besides label and icon) without recreating an entirely customized TabBar?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the createMaterialTopTabNavigator entry point and inspect how its options handle tab labels, icons, and the tab bar. Determine the scope of supporting a tabBarButton option or an equivalent per-tab customization path. Done means individual top tabs can be customized without requiring a fully recreated TabBar.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.