Skip to content

Conversation

@Trancever
Copy link
Contributor

Motivation

Badge is currently not exposed via public API of the lib which makes it impossible to use it when building custom tab.

Test plan

Run example app and check that nothing is broken. This PR only moves the file and exposes component in elements package public API.

I renamed component from Badge to TabBarIconBadge so it's clear what it is for, but if it's not desired, let me know and I will fix it.

@github-actions
Copy link

Hey @Trancever! Thanks for opening your first pull request in this repo. If you haven't already, make sure to read our contribution guidelines.

@netlify
Copy link

netlify bot commented Oct 17, 2025

Deploy Preview for react-navigation-example ready!

Name Link
🔨 Latest commit 0add6ea
🔍 Latest deploy log https://app.netlify.com/projects/react-navigation-example/deploys/68f8fb1cebabe500085c5fa1
😎 Deploy Preview https://deploy-preview-12796--react-navigation-example.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@satya164 satya164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

@satya164 satya164 merged commit 987e318 into react-navigation:main Oct 22, 2025
10 of 11 checks passed
satya164 added a commit that referenced this pull request Oct 22, 2025
**Motivation**

Badge is currently not exposed via public API of the lib which makes it
impossible to use it when building custom tab.

**Test plan**

Run example app and check that nothing is broken. This PR only moves the
file and exposes component in elements package public API.

I renamed component from Badge to TabBarIconBadge so it's clear what it
is for, but if it's not desired, let me know and I will fix it.

---------

Co-authored-by: Satyajit Sahoo <[email protected]>
satya164 added a commit that referenced this pull request Nov 1, 2025
**Motivation**

Badge is currently not exposed via public API of the lib which makes it
impossible to use it when building custom tab.

**Test plan**

Run example app and check that nothing is broken. This PR only moves the
file and exposes component in elements package public API.

I renamed component from Badge to TabBarIconBadge so it's clear what it
is for, but if it's not desired, let me know and I will fix it.

---------

Co-authored-by: Satyajit Sahoo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants