Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

164
Views
NativeStackNavigator React Native - bottomTabNavigator

I want to make a simple bottom tab navigator, but I keep getting the same error...

Error: Element type is invalid: expected a string (for built-in components)
 or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports

I know the imports are correct, because when I use another Navigator the LoginScreen does work... Any ideas?

import {createBottomTabNavigator} from "@react-navigation/bottom-tabs";
import LoginScreen from "../screens/LoginScreen";

const Tabs = () => {
    const Tab = createBottomTabNavigator;

    return(
        <Tab.Navigator>
            <Tab.Screen name="LoginScreen" component={LoginScreen}/>
        </Tab.Navigator>
    );
}

export default Tabs;

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!