mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add styles for headers and subHeaders
This commit is contained in:
parent
fa5eab7b90
commit
81be640472
3 changed files with 18 additions and 0 deletions
|
@ -25,6 +25,8 @@ document.addEventListener( 'DOMContentLoaded', () => {
|
|||
placements: ['cart', 'checkout', 'product', 'category', 'homepage', 'custom_placement'],
|
||||
styleOverrides: {
|
||||
button: publishButtonClassName,
|
||||
header: PcpPayLaterConfigurator.headerClassName,
|
||||
subheader: PcpPayLaterConfigurator.subheaderClassName
|
||||
},
|
||||
onSave: data => {
|
||||
fetch(PcpPayLaterConfigurator.ajax.save_config.endpoint, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue