mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
11 lines
267 B
JavaScript
11 lines
267 B
JavaScript
import { Icon } from '@wordpress/components';
|
|
import data from '../../utils/data';
|
|
|
|
const PaymentMethodIcon = ( { type } ) => (
|
|
<Icon
|
|
icon={ data().getImage( `icon-button-${ type }.svg` ) }
|
|
className="ppcp--method-icon"
|
|
/>
|
|
);
|
|
|
|
export default PaymentMethodIcon;
|