Skip to content

Commit 6505b7d

Browse files
committed
fix: remove unused prop
1 parent 0ab91e7 commit 6505b7d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/components/v5/common/Table/Table.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ const Table = <T,>({
5252
showTableBorder = true,
5353
alwaysShowPagination = false,
5454
footerColSpan,
55-
withoutRowClasses,
5655
...rest
5756
}: TableProps<T>) => {
5857
const helper = useMemo(() => createColumnHelper<T>(), []);
@@ -344,8 +343,7 @@ const Table = <T,>({
344343
row.getCanExpand() &&
345344
!withNarrowBorder) ||
346345
withBorder,
347-
'expanded-below':
348-
showExpandableContent && !withoutRowClasses,
346+
'expanded-below': showExpandableContent,
349347
})}
350348
>
351349
{row.getVisibleCells().map((cell, index) => {

src/components/v5/common/Table/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,4 @@ export interface TableProps<T>
4848
showTableHead?: boolean;
4949
showTableBorder?: boolean;
5050
alwaysShowPagination?: boolean;
51-
withoutRowClasses?: boolean;
5251
}

0 commit comments

Comments
 (0)