-
Notifications
You must be signed in to change notification settings - Fork 219
Pass to payment methods a wrapper component that handles the loading state #5135
Conversation
Size Change: +504 B (0%) Total Size: 1.11 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Just to note, there is some overlap with #5177 where I've added proper typescript definitions. Should we combine documentation/descriptions and refer to the TS rather than repeating in a doc, or have both?
I think there is some extra info in the docs and it might be worth keeping both. Also, as the payment gateways are a topic of interest it might help having this overview in the docs for somebody who just wants to learn more. We can reconsider later. |
In order to have a consistent UI for loading state presented to shoppers in the C&C blocks, we need to provide registered payment methods a component that they could use while they don't want the payment method to be available.
This PR:
Fixes #5013
Other Checks
Screenshots
Images don't reflect the actual size in the page, they are made to support comparing the changes.
Testing
components
key.Performance Impact
Changelog