Using this, on a react-native:
renderLogin() {
const onLogin = (email, password) => {
console.log(email, password) // user credentials
}
const onResetPassword = (email) => {
console.log(email)
}
return (
<Login
onLogin={onLogin}
onResetPassword={onResetPassword}
/>
);
}
The component warns me against the onLogin undefined :/, any idea?
Using this, on a react-native:
The component warns me against the onLogin undefined :/, any idea?