Init gapi
Made the changes from https://github.com/kennetpostigo/react-google-login-component/pull/5 and some minor tweaks. I'm wondering if all the options from https://developers.google.com/identity/sign-in/web/reference#gapiauth2clientconfig should be added as props? Maybe add defaultProps and propTypes? @kennetpostigo @darrenchiu what do you think :)
@D-Andreev Did you check these changes against the example project?
@kennetpostigo Yes, I tested it with the example app, login button works and popup is not blocked.
@D-Andreev i agree that we should add those options as props, but should it be a separate pull requests?
Hey guys sorry im late responding. Currently on vacation but will try to thoroughly review changes ASAP.
@koss-lebedev do you think you can review these changes here?
Hey @D-Andreev,
thank you for this PR! Can you sync your branch with the current master and re-submit PR with only init-gapi changes? Your current PR includes some unrelated things (.idea project files) and things that we already fixed, like props.children, extraneous wrapping div, etc. I'll be happy to review it after that.
cc: @kennetpostigo
@koss-lebedev I gave you publishing rights to both packages on npm. I've been running a bit behind on publishing to npm. So feel free to review PR's, cc me, and the publish when changes are merged.
Whats the status on this?