import { FC, CSSProperties, useEffect, useState } from "react"; import Script from "next/script"; export interface IGoogleLoginButton { text?: string; onSuccess?: (res: any) => void; onFailure?: (res: any) => void; styles?: CSSProperties; } export const GoogleLoginButton: FC = (props) => { return ( <>