torgeadelin / react-native-animated-nav-tab-bar

A simple and customisable React Native component that implements an animated bottom tab bar for React Navigation.
MIT License
889 stars 102 forks source link

Include support for React navigation v6 #122

Closed mdmusaibali closed 1 year ago

malinthann commented 1 year ago

where?

mdmusaibali commented 1 year ago

Check package.json. Currently this package uses react navigation v5. This is causing dependency incompatibility if the project that we are making uses react navigation v6.

malinthann commented 1 year ago

Do you know how to fix it, or what react-native-animated-tab-bar that you prefer?

aaron5670 commented 1 year ago

I'm also interested in an solution 😄

tschleuss commented 1 year ago

I managed to get it working on a personal project.. I'm not using the package, decided to copy the sources over to my project, and the only error was within TabBarElement.tsx, need to fix the usage of Descriptor type on L:25.

I changed it to Descriptor<any, any, any> just for a quick testing, and everything is working.. I'll work on a proper type solution later.

Maybe I can face other problems trying to integrate it deeper with v6 navigators, but for now, just using it alone, it's working.

github-actions[bot] commented 1 year ago

Stale issue message