From d309c2bd85e5e6f133bca36e127764795cfd7350 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Fri, 7 Jun 2024 11:08:57 -0300 Subject: [PATCH] chore: Add onDelete and onDuplicate props to TableComponent --- src/frontend/src/components/tableComponent/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/src/components/tableComponent/index.tsx b/src/frontend/src/components/tableComponent/index.tsx index 3b0b6a824..139392922 100644 --- a/src/frontend/src/components/tableComponent/index.tsx +++ b/src/frontend/src/components/tableComponent/index.tsx @@ -20,6 +20,8 @@ interface TableComponentProps extends AgGridReactProps { alertTitle?: string; alertDescription?: string; editable?: boolean | string[]; + onDelete?: (selectedRows: any) => void; + onDuplicate?: (selectedRows: any) => void; } const TableComponent = forwardRef<