MomenSherif / react-oauth

Google OAuth2 using the new Google Identity Services SDK for React 🚀
https://www.npmjs.com/package/@react-oauth/google
MIT License
1.13k stars 141 forks source link

Can the maxWidth for the GoogleLogin button be made configurable? #306

Open pyofori opened 1 year ago

pyofori commented 1 year ago

Hello @MomenSherif i'm passing a width of 480px but the width of the button is 400 because of the set max width, and there's no way to override that. Could that be worked on? Thanks <GoogleLogin useOneTap={false} size="large" onSuccess={responseMessage} onError={errorMessage} width={480}/>

Screenshot 2023-09-19 at 19 26 33
redoncordoor commented 11 months ago

yes same, please add also an attribute for maxWidth