@flaque/google-button
v1.0.5
Published
A forked version of the login-with-google button
Downloads
9
Readme
google-button
Install
yarn add
Usage
Just a login-with-google button that acts like a regular button. Just a personal typescript-y fork of prescottprue/react-google-button.
import GoogleButton from "@flaque/google-button";
// ...
<GoogleButton
label="Login with Google"
disabled={true}
onClick={() => {}}
type="light"
style={{
background: "blue"
}}
/>;
// Or just
<GoogleButton onClick={() => {}}>