GoodDollar / GoodWeb3-Mono

mono repo with GoodDollar's web3 UI components and SDK
https://gooddollar-storybook.vercel.app
3 stars 3 forks source link

Add: 376 update events #69

Closed L03TJ3 closed 1 year ago

L03TJ3 commented 1 year ago

Description

To catch the onPress event of the web3action button, there must be a way to send events back up. This adds an eventsCb prop so that the different stages of the web3action flow could be watched/or catched to notify using app

About # (link your issue here) https://github.com/GoodDollar/GoodProtocolUI/issues/376

L03TJ3 commented 1 year ago

@johnsmith-gooddollar the optional comment you made do we want to implement this immediately? Or do we want to take a little more time (separate issue) to implement a more generic approach across good-design for events?

This was mainly a quick draft because I specifically needed the onpress of web3action for the claim-event