From 4d36fa7d0271b918ceae04e0279882f242a7264c Mon Sep 17 00:00:00 2001 From: IonutGabi Date: Thu, 31 Oct 2024 12:24:45 +0100 Subject: [PATCH] Change the eraser icon to the trash icon --- .../edit-table/components/commands/commands.component.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pods/edit-table/components/commands/commands.component.tsx b/src/pods/edit-table/components/commands/commands.component.tsx index 544eadc1..729eef16 100644 --- a/src/pods/edit-table/components/commands/commands.component.tsx +++ b/src/pods/edit-table/components/commands/commands.component.tsx @@ -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; @@ -50,7 +50,7 @@ export const Commands: React.FC = (props: Props) => { )} {isDeleteVisible && ( } + icon={} onClick={() => onDeleteField(field.id)} ariaLabel={REMOVE_ICON + field.name} />