Closed 0xcaff closed 6 years ago
Closing as it is duplicate of #147 Open PR for this issue: #180 hope to have this taken care of soon.
Wouldn't it be better to slim-down this library with the styling and class stuff and use this library? https://github.com/prescottprue/react-google-button
For example:
<GoogleLogin
clientId="REMOVED"
onSuccess={this.authenticateProvider}
style={{
border: 'none',
background: 'none',
padding: 0,
margin: 0
}}
onFailure={(response) => console.log(response)}>
<GoogleButton />
</GoogleLogin>
use this const inStyle = { background: "#000000"}; <GoogleLogin clientId="658977310896-knrl3gka66fldh83dao2rhgbblmd4un9.apps.googleusercontent.com" render={renderProps => (
)}
buttonText="Login"
onSuccess={responseGoogle}
onFailure={responseGoogle}
/>
Hey I want add
When I create an instance of the component
I see this:
Shouldn't I be seeing a sign in button like the one in the picture below?
Or does this library not handle styling the button? I think this should be made clear in the readme or a demo.