mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Use the PayPal icons instead of WC ones
This commit is contained in:
parent
78cbb94029
commit
baea5ba32c
9 changed files with 20 additions and 13 deletions
|
@ -1,9 +1,16 @@
|
|||
export function APM( { config, components } ) {
|
||||
const { PaymentMethodIcons } = components;
|
||||
|
||||
return (
|
||||
<div>
|
||||
<PaymentMethodIcons icons={ [ config.icon ] } align="right" />
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
<div>
|
||||
<div
|
||||
className="wc-block-components-payment-method-icons wc-block-components-payment-method-icons--align-right">
|
||||
<img
|
||||
className={`wc-block-components-payment-method-icon wc-block-components-payment-method-icon--${config.id}`}
|
||||
src={config.icon}
|
||||
alt={config.title}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue