mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
♻️ Use wp icon instead of custom SVG
This commit is contained in:
parent
63185b39b7
commit
9cadf1ff76
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
import { ToggleControl } from '@wordpress/components';
|
||||
import { ToggleControl, Icon } from '@wordpress/components';
|
||||
import { cog } from '@wordpress/icons';
|
||||
|
||||
import SettingsBlock from '../SettingsBlock';
|
||||
import PaymentMethodIcon from '../PaymentMethodIcon';
|
||||
import data from '../../../utils/data';
|
||||
|
||||
const PaymentMethodItemBlock = ( {
|
||||
paymentMethod,
|
||||
|
@ -36,7 +36,7 @@ const PaymentMethodItemBlock = ( {
|
|||
className="ppcp--method-settings"
|
||||
onClick={ onTriggerModal }
|
||||
>
|
||||
{ data().getImage( 'icon-settings.svg' ) }
|
||||
<Icon icon={ cog } />
|
||||
</div>
|
||||
) }
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue