react-twitter-auth icon indicating copy to clipboard operation
react-twitter-auth copied to clipboard

Accept an onClick property

Open codenaz opened this issue 6 years ago • 0 comments

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

codenaz avatar May 27 '19 14:05 codenaz