From 6d77a73480e0b96f96f0a0d1d223a48946174c95 Mon Sep 17 00:00:00 2001 From: Tony CABAYE Date: Fri, 29 Sep 2023 10:15:42 +0200 Subject: [PATCH] feat: add props for menu label --- .../react-front-kit/src/3-custom/Components/Table/Table.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react-front-kit/src/3-custom/Components/Table/Table.tsx b/packages/react-front-kit/src/3-custom/Components/Table/Table.tsx index a4b389e8..38c8c04d 100644 --- a/packages/react-front-kit/src/3-custom/Components/Table/Table.tsx +++ b/packages/react-front-kit/src/3-custom/Components/Table/Table.tsx @@ -63,6 +63,7 @@ export interface IConfirmAction> export interface ITableProps> extends MRT_TableOptions { actions?: IAction[]; + menuLabel?: string; rowActionNumber?: number; } @@ -82,6 +83,7 @@ export function Table>( actions = [], icons, initialState, + menuLabel = 'Other actions', rowActionNumber = 0, ...mantineTable } = props; @@ -220,7 +222,7 @@ export function Table>( radius={4} type="button" > - +