Remove generic payment method icons (Stripe CC + Cheque) (https://github.com/woocommerce/woocommerce-blocks/pull/2968)
* remove generic icons from Cheque & Stripe CC payment methods * remove icon prop from PaymentMethodLabel - no longer supported: - icons should only be used for recognisable brands - generic icons (e.g. credit card) are not recommended * Revert "remove icon prop from PaymentMethodLabel - no longer supported:" This reverts commit 1990028a6c98b82750fb917ff3086dbe022ef41d.
This commit is contained in:
parent
66876c4216
commit
39270f5657
|
@ -33,7 +33,7 @@ const Content = () => {
|
|||
*/
|
||||
const Label = ( props ) => {
|
||||
const { PaymentMethodLabel } = props.components;
|
||||
return <PaymentMethodLabel icon="checkPayment" text={ label } />;
|
||||
return <PaymentMethodLabel text={ label } />;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -38,7 +38,6 @@ const StripeLabel = ( props ) => {
|
|||
|
||||
return (
|
||||
<PaymentMethodLabel
|
||||
icon="card"
|
||||
text={ __( 'Credit / Debit Card', 'woo-gutenberg-products-block' ) }
|
||||
/>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue