Introduce a "Button" prop on the CoinbaseCommerceButton which will allow us to replace the <button> which is rendered with our own. I use ChakraUI and EmotionCSS, and I just want to render my button easily instead of the current one. I can add it as a child and with some css override it will work, but I will have nested button tags then.
Definitely agree that this would be nice! The workaround we're currently using is to hide Coinbase's button using css and then manually trigger the click handler when our button is clicked.
Introduce a "Button" prop on the
CoinbaseCommerceButton
which will allow us to replace the<button>
which is rendered with our own. I use ChakraUI and EmotionCSS, and I just want to render my button easily instead of the current one. I can add it as a child and with some css override it will work, but I will have nested button tags then.