woocommerce-paypal-payments/modules/ppcp-blocks/resources/js/Components/paypal-label.js
Emili Castells Guasch add776c976 Extract components
2024-12-03 12:27:34 +01:00

14 lines
276 B
JavaScript

export const PaypalLabel = ( { components, config } ) => {
const { PaymentMethodIcons } = components;
return (
<>
<span
dangerouslySetInnerHTML={ {
__html: config.title,
} }
/>
<PaymentMethodIcons icons={ config.icon } align="right" />
</>
);
};