Skip to content

Commit

Permalink
Replace the trash can icon in the attribute list (#35133)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdperez86 committed Oct 18, 2022
1 parent a0b27a4 commit c79af1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -6,7 +6,7 @@ import { Button } from '@wordpress/components';
import { ProductAttribute } from '@woocommerce/data';
import { Text } from '@woocommerce/experimental';
import { Sortable, ListItem } from '@woocommerce/components';
import { trash } from '@wordpress/icons';
import { closeSmall } from '@wordpress/icons';

/**
* Internal dependencies
Expand Down Expand Up @@ -112,7 +112,7 @@ export const AttributeField: React.FC< AttributeFieldProps > = ( {
{ __( 'edit', 'woocommerce' ) }
</Button>
<Button
icon={ trash }
icon={ closeSmall }
label={ __(
'Remove attribute',
'woocommerce'
Expand Down
@@ -0,0 +1,4 @@
Significance: patch
Type: enhancement

Replace the trash can icon in the attribute list

0 comments on commit c79af1a

Please sign in to comment.