Closed lancedang64 closed 1 year ago
I saw that the latest commit 65c98bad317423bd9d218f61e1f15f19a4f1497b removed the buttonColor prop because there is only 1 variant for the button now.
Also, I see that a similar issue was raised and addressed before at #192
Hence closing this request
@lancedang64 after feedback from partners we decided to revert this change. the white button variant is now available again.
Hi team,
I see that the current API does not support a white background Google Pay Button. I came into this problem when integrating with our app which has a black background
It would be great if the Button component has an extra optional prop
theme
orvariant
to support the white background versionThe alternative that I'm using in order to follow the brand guideline is to use the HTML-and-CSS-only version of the button which can be found here at https://developers.google.com/pay/india/api/otherapis/omnichannel/brand-guidelines