Sign in with Google Popup using Firebase
const provider = new firebase.auth.GoogleAuthProvider(); provider.setCustomParameters({ prompt: 'select_account' }); export const signInWithGoogle = () => auth.signInWithPopup(provider); - import { signInWithGoogle } from '../hoge/hoge/firebase.js'; - < on any button component onClick={ signInWithGoogle } />