From a3dbca891f3097a3a7fbd16e93dd61f3ed205b7f Mon Sep 17 00:00:00 2001 From: EdwardLinS <63514282+EdwardLinS@users.noreply.github.com> Date: Mon, 27 May 2024 12:12:46 -0700 Subject: [PATCH] Add type to icon in delete popup --- admin-portal-frontend/src/app/components/DeletePopup.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin-portal-frontend/src/app/components/DeletePopup.tsx b/admin-portal-frontend/src/app/components/DeletePopup.tsx index d40253e..79751dd 100644 --- a/admin-portal-frontend/src/app/components/DeletePopup.tsx +++ b/admin-portal-frontend/src/app/components/DeletePopup.tsx @@ -2,6 +2,11 @@ import React from "react"; import CloseIcon from "../icons/close.svg"; +type IconProps = { + 'content-type': string, + src: string +} + type DeleteConfirmationPopupProps = { onDelete: () => void; onCancel: () => void; @@ -15,7 +20,7 @@ const DeleteConfirmationPopup: React.FC = ({