Questions tagged [react-navigation-bottom-tab]

422 questions
0
votes
0 answers

Element type is invalid: expected a string or a class/function but got: object. You likely forgot to export your component from the file it's defined

Please help me find the issue I'm learning react-native. Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the…
0
votes
1 answer

Cant seem to add an icon to the bottomTabNavigator menu

I have a react native application. I want to add and set an icon to the different menu options. I couldnt find any type of tutorial or doc for exactly how to correctly set icons for the different menu options in the bottom tab navigator. This is…
ojandali
  • 133
  • 7
0
votes
1 answer

React Native Tab View bottom space Bug

this is my code. and below the code, u can see the view. I can't get rid of that empty space. what is wrong here? I'm using this library https://www.npmjs.com/package/react-native-tab-view.my react-native version is 0.68.1. what I found is something…
0
votes
0 answers

A problem occurred evaluating project ':react-native-reanimated'. My react-native-reanimated version: "^2.8.0"

I'm getting this error: A problem occurred evaluating project ':react-native-reanimated'. > Could not get unknown property 'rnMinorVersion' for project ':react-native-reanimated' of type org.gradle.api.Project. I tried updating…
0
votes
0 answers

React Native Nested Navigation GO_BACK handled by any navigator

I created a nested navigation in my app. There is a TabNavigator as default in NavigationContainer and it contains screens and HomeFeed Stack Navigator which is like this; BottomTabBar HomeStackNavigator (HomeFeed) Detail Screen Settings…
0
votes
1 answer

How to make the background of NavigationContainer transparent in react-navigation v5?

I am trying to make the background of NavigationContainer transparent for making the items under bottom to be visible , but it is not working in my case. Please do help if you know how to achieve this in react native.Following is my code for…
0
votes
1 answer

react native / navigation change bottom tap icon

There is a question mark(or error mark) like photo. enter image description here I want to change home icon to this icon. import { Entypo } from '@expo/vector-icons'; I'm beginner so If you upload full…
정혜주
  • 1
  • 5
0
votes
0 answers

Refresh screen react native bottomtab navigation

I have an app with a bottomtab with 4 tabs. I want that when I'm already on my "Home" screen, if I press the home bottomtab again in the menu, the screen will be refreshed, and it will eliminate that cache that it has. someone know how to I can do?
0
votes
2 answers

Navigate to nested screen react native

I have a bottom tab navigator like so: const Tab = BottomTabNavigator() const BottomTab = () => (
0
votes
1 answer

React-Native Bottom Tab Navigator Not Applying Stylesheet

Hi I am having issues with the styling not appearing on the bottom tab navigator. For some reason when I got to apply the styling from a stylesheet I have created it won't apply itself to the tab. The styling that is within the tab itself works,…
0
votes
1 answer

React native - highlight an icon in a "fizzy" way

enter image description here Does anyone know how to achieve this effect?
0
votes
1 answer

React Navigation Push screen inside another tab

I have tab navigators and stack navigator nested as follows: - Tab_1 -------- Stack_1 -------- Stack_2 -------- Stack_3 - Tab_2 I want to navigate to Stack_2 from inside Tab_2 with id parameters. I can use navigation.navigate("Tab_1", {screen:…
0
votes
0 answers

Use an image on multiple screens react native with react navigator

I want to be able to use an image on multiple screens in react native. For example, when the home screen and settings are loaded I want to use an image on both screens, so that it avoids a re-render when switching…
0
votes
2 answers

How can I override tabBarOptions and change the color of the navigation icons?

How can I change the colors of the icons that are active by removing the 'tabBarOptions' part and everything still works? Going through an app I made some time ago in a tutorial, I came across this warning in the console: Bottom Tab Navigator:…
0
votes
1 answer

Dynamic id transition page for each individual element of the array

I need your help. I have a separate file arrayOfBoxes, which contains an array of elements with fields id and title. There is also a Boxes component in which I iterate this array and there is a BoxesDetailsComponent component in which I want to have…
user18796146