react-twitter-auth
react-twitter-auth copied to clipboard
Accept an onClick property
What does this MR do This MR implements adding a click property in case we need a side effect to occur before attempting login, side effects can be cancelled in the onFailure and onSuccess function. An example is displaying a loading sign.
How can this be manually tested
- Add a function that logs a value on button click
- Login should still occur normally
- You should see your logged value