mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
15 lines
276 B
JavaScript
15 lines
276 B
JavaScript
|
export const PaypalLabel = ( { components, config } ) => {
|
||
|
const { PaymentMethodIcons } = components;
|
||
|
|
||
|
return (
|
||
|
<>
|
||
|
<span
|
||
|
dangerouslySetInnerHTML={ {
|
||
|
__html: config.title,
|
||
|
} }
|
||
|
/>
|
||
|
<PaymentMethodIcons icons={ config.icon } align="right" />
|
||
|
</>
|
||
|
);
|
||
|
};
|