itzpradip / react-navigation-v5-mix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SignUpScreen named SignInScreen

aasthas97 opened this issue · comments

The component defined in SignUpScreen.js is called SignInScreen. This creates an issue while running import SignUpScreen from './SignUpScreen' in RootStackScreen.js.
To fix this, rename the component like so:

\\ ./screens/SignUpScreen.js

const SignUpScreen = ({navigation}) => {
    const [data, setData] = React.useState({
       ...
      </View>
    );
};