Skip to content

Commit 69ac841

Browse files
committed
expose more carbon table interfaces
1 parent eef1a84 commit 69ac841

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Table/TableContainer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { CLASSPREFIX as eccgui } from "../../configuration/constants";
1111

1212
import { TableRowHeightSize, tableRowHeightSizes } from "./Table";
1313

14-
interface TableDataContainerProps
14+
export interface TableDataContainerProps
1515
extends Omit<
1616
CarbonDataTableProps<
1717
Array<Omit<CarbonDataTableRow<Array<CarbonDataTableHeader>>, "cells">>,
@@ -23,7 +23,7 @@ interface TableDataContainerProps
2323
children(signature: any): JSX.Element;
2424
size?: TableRowHeightSize;
2525
}
26-
interface TableSimpleContainerProps
26+
export interface TableSimpleContainerProps
2727
extends Omit<CarbonTableContainerProps, "description" | "stickyHeader" | "title" | "useStaticWidth">,
2828
React.HTMLAttributes<HTMLDivElement> {
2929
children?: JSX.Element;

src/components/Table/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ export * from "./TableCell";
77

88
// TODO, we may wrap to add own classes (currently not necessary)
99
export { TableHead, TableBody, TableExpandedRow, TableHeader } from "@carbon/react";
10-
export type { TableHeadProps, TableBodyProps, TableExpandedRowProps, TableHeaderProps } from "@carbon/react";
10+
export type { TableHeadProps, TableBodyProps, TableExpandedRowProps, TableHeaderProps, DataTableRenderProps } from "@carbon/react";

0 commit comments

Comments
 (0)