Mindinventory / react-native-tabbar-interaction

Tabbar Component For React-Native
https://www.mindinventory.com/react-native-app-development.php
MIT License
814 stars 171 forks source link

Can I use this plugin with React Navigation createBottomTabNavigator? #9

Closed fouad1994 closed 3 years ago

fouad1994 commented 5 years ago

I need to change the default createBottomTabNavigator design to this plugin can I do that?

PareshSolankiMI commented 5 years ago

Yes

damienkilgannon commented 5 years ago

Anyone have any example implementations of this?

timothyspengler commented 5 years ago

Anyone have any example implementations of this?

In your createBottomTabNavigator add tabBarComponent: props => ( //theComponent ),

HarshitMadhav commented 5 years ago

@timothyspengler Can you please share an example code or a gist?

fr3fou commented 4 years ago

any example?

chetankotkar commented 3 years ago

Any Example ?

akashmi commented 3 years ago

We have updated lib. and also added an example for the same. Please refer to it, and raise a new issue if you are getting any errors.

emil-malmgaard-rasmussen commented 2 years ago

Has the example been removed? I can't seem to find a example for how to integrate this library with ReactNavigation.

in regards to @timothyspengler answer, then its correct you can style the tabBar with props, but there is no way to supply the {...props} to the Tabbar component, leaving no option to navigate to the other Tab.Screen from Tab.Navigator

akashmi commented 2 years ago

@emil-malmgaard-rasmussenplease go thru the below link for the use case. https://github.com/Mindinventory/react-native-tabbar-interaction#usage