Skip to content

fix(TabBar): Fixing warning from TabBar defaultProps deprecated #3191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

fix(TabBar): Fixing warning from TabBar defaultProps deprecated #3191

wants to merge 1 commit into from

Conversation

sn-cuong
Copy link

Description

TabBar using deprecated defaultProps.
Seeing warning in projects:

Warning: TabController.TabBar: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

Changelog

  • Removed usage of defaultProps from TabBar and replaced functionality with JavaScript default parameters.

Additional info

#3154

@sn-cuong
Copy link
Author

@adids1221 / @M-i-k-e-l / @Inbal-Tish please take a look!

@sn-cuong
Copy link
Author

This PR is a duplicate of #3155 for visibilty...

@adids1221
Copy link
Contributor

Closing the PR since it's duplication of #3155

@adids1221 adids1221 closed this Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants