mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-10 23:42:39 +08:00
✨ Add location-specific configuration
This commit is contained in:
parent
4b47084aa2
commit
0428dd08aa
3 changed files with 12 additions and 6 deletions
|
@ -33,8 +33,6 @@ const defaultPersistent = Object.freeze( {
|
|||
label: STYLING_LABELS.pay.value,
|
||||
shape: STYLING_SHAPES.rect.value,
|
||||
color: STYLING_COLORS.gold.value,
|
||||
layout: STYLING_LAYOUTS.vertical.value,
|
||||
tagline: false,
|
||||
} ),
|
||||
[ STYLING_LOCATIONS[ 'classic-checkout' ].value ]: Object.freeze( {
|
||||
enabled: true,
|
||||
|
@ -51,8 +49,6 @@ const defaultPersistent = Object.freeze( {
|
|||
label: STYLING_LABELS.checkout.value,
|
||||
shape: STYLING_SHAPES.rect.value,
|
||||
color: STYLING_COLORS.gold.value,
|
||||
layout: STYLING_LAYOUTS.vertical.value,
|
||||
tagline: false,
|
||||
} ),
|
||||
[ STYLING_LOCATIONS[ 'mini-cart' ].value ]: Object.freeze( {
|
||||
enabled: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue