@paypal/paypal-js
Preparing search index...
components/googlepay-payments
GooglePayButtonOptions
Type Alias GooglePayButtonOptions
Options for Google PaymentsClient.createButton()
type
GooglePayButtonOptions
=
{
buttonColor
?:
"default"
|
"black"
|
"white"
;
buttonLocale
?:
string
;
buttonSizeMode
?:
"static"
|
"fill"
;
buttonType
?:
|
"book"
|
"buy"
|
"checkout"
|
"donate"
|
"order"
|
"pay"
|
"plain"
|
"subscribe"
;
onClick
:
()
=>
void
;
}
Index
Properties
button
Color?
button
Locale?
button
Size
Mode?
button
Type?
on
Click
Properties
Optional
button
Color
buttonColor
?:
"default"
|
"black"
|
"white"
Optional
button
Locale
buttonLocale
?:
string
Optional
button
Size
Mode
buttonSizeMode
?:
"static"
|
"fill"
Optional
button
Type
buttonType
?:
|
"book"
|
"buy"
|
"checkout"
|
"donate"
|
"order"
|
"pay"
|
"plain"
|
"subscribe"
on
Click
onClick
:
()
=>
void
Settings
Theme
OS
Light
Dark
On This Page
Properties
button
Color
button
Locale
button
Size
Mode
button
Type
on
Click
@paypal/paypal-js
Loading...
Options for Google PaymentsClient.createButton()