How to add icon in bottom tab navigation react native?

Hello Friends 馃憢, Welcome To Infinitbility! 鉂わ笍 This tutorial will help you to add icon and image in you react navigation bottom tabs, here we are using React navigation 6. Want React Navigation stack and bottom tabs combine example? https://infinitbility.com/how-to-create-stack-navigation-with-tab-navigation-in-react-navigation Let start today tutorial How to add icon in bottom tab navigation react native? BottomTabNavigator with image First, we will see how can we use in react navigation bottom tabs....

November 12, 2021 路 2 min 路 Infinitbility

How to remove back button in react navigation?

Hello Friends 馃憢, Welcome To Infinitbility! 鉂わ笍 This tutorial will help you to remove back button from your react navigation header bar, here we are using react navigation version 6.x. Let start today tutorial How to remove back button in react navigation? React Navigation provides headerLeft options to show your custom Ui in header bar but you can also use for remove back button when you pass null on it....

November 11, 2021 路 1 min 路 Infinitbility

How to create stack navigation with tab navigation in react navigation?

Hello Friends 馃憢, Welcome To Infinitbility! 鉂わ笍 This tutorial will help you to create bottom tab navigation with in stack navigation using react navigation in react native, here we are using react navigation version 6.x. Let start today tutorial How to create stack navigation with tab navigation in react navigation? Here full source code of tutorial https://github.com/infinitbility/react-navigation-stack-and-tab-example/tree/master Installation Now, we have to install required react navigation packages, as well as our stack and tab mavigation....

November 10, 2021 路 5 min 路 Infinitbility

how to disable drawer on the drawer navigation screen?

Hello Friends, Welcome To Infinitbility! Many people want to disable or block the drawer on a specific drawer navigation screen and you are also one of those then follow the below example to save your hour. React Navigation blocked drawer when use drawerLockMode you can鈥檛 access the drawer anymore Note: you can鈥檛 use openDrawer() and closeDrawer() also example : { screen : ExampleScreen, navigationOptions: ({navigation}) => ( { drawerLockMode: 'locked-closed' } ) }, React Navigation disable gesture disable gesture only affect gestures only like swipe left and many more....

January 12, 2021 路 2 min 路 Infinitbility

How to get the current route in react-navigation?

Hello Friends, Welcome To Infinitbility! Many times we want to know the current route name & index for different purposes. here we the simplest way to get the current route name from react-navigation. You get the below example to get the current index & current route name. // for current index let index = this.props.navigation.state.index; // for current route name let routeName = this.props.navigation.state.routes[index].key; For React, navigation v5 Users have the option to get the current route name using useRoute()....

October 25, 2020 路 2 min 路 Infinitbility