mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 04:58:28 +08:00
14 lines
276 B
JavaScript
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" />
|
|
</>
|
|
);
|
|
};
|