Closed dmengelt closed 11 months ago
Adds a new enabled property on the button:
enabled
PayButton( onClick = onClick, allowedPaymentMethods = allowedPaymentMethods, enabled = false )
If enabled is set to false the buttons click listener gets removed and the button is greyed out:
false
Fixes #5
Adds a new
enabled
property on the button:If
enabled
is set tofalse
the buttons click listener gets removed and the button is greyed out: