Merge branch 'PCP-32-layout-options-per-context'

This commit is contained in:
David Remer 2020-08-17 19:58:35 +03:00
commit 0e9f329c5e
6 changed files with 545 additions and 105 deletions

View file

@ -15,7 +15,7 @@ class Renderer {
return;
}
const style = this.defaultConfig.button.style;
const style = wrapper === this.defaultConfig.button.wrapper ? this.defaultConfig.button.style : this.defaultConfig.button.mini_cart_style;
paypal.Buttons({
style,
...contextConfig,