From 1fe35acfe88cb1282c5873ce8c080661bd68fb20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Zi=C4=99cina?= Date: Wed, 4 Oct 2023 12:31:28 +0200 Subject: [PATCH] fix: add className prop to StandardTable (#128) --- src/tables/StandardTable.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tables/StandardTable.tsx b/src/tables/StandardTable.tsx index 64125fa..e87c88d 100644 --- a/src/tables/StandardTable.tsx +++ b/src/tables/StandardTable.tsx @@ -71,6 +71,8 @@ export interface StandardTableProps { headers: TableHeaders /** The table data passed as records of column name to cell data with optional settings */ data?: StandardTableData + /** A class name applied to the wrapper of the table */ + className?: string /** A class name applied to the root of the table */ tableClassName?: string /** A class name applied to each cell */ @@ -257,7 +259,7 @@ export const StandardTable = (props: StandardTableProps) => { } return ( -
+
{headerLabels}