♻️ Use wp icon instead of custom SVG

This commit is contained in:
Philipp Stracker 2025-01-24 17:03:23 +01:00
parent 63185b39b7
commit 9cadf1ff76
No known key found for this signature in database

View file

@ -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>