Skip to content

Commit

Permalink
Change the eraser icon to the trash icon
Browse files Browse the repository at this point in the history
  • Loading branch information
IonutGabi committed Oct 31, 2024
1 parent 83d9df1 commit 4d36fa7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CommandIconButton } from './command-icon-button';
import { FieldVm } from '../../edit-table.vm';
import { GUID, GenerateGUID } from '@/core/model';
import { isFirstItemInArray, isLastItemInArray } from './commands.business';
import { AddFolder, UpIcon, DownIcon, RemoveIcon } from '@/common/components';
import { AddFolder, UpIcon, DownIcon, TrashIcon } from '@/common/components';

interface Props {
onDeleteField: (fieldId: GUID) => void;
Expand Down Expand Up @@ -50,7 +50,7 @@ export const Commands: React.FC<Props> = (props: Props) => {
)}
{isDeleteVisible && (
<CommandIconButton
icon={<RemoveIcon />}
icon={<TrashIcon />}
onClick={() => onDeleteField(field.id)}
ariaLabel={REMOVE_ICON + field.name}
/>
Expand Down

0 comments on commit 4d36fa7

Please sign in to comment.