Skip to content

Commit

Permalink
fix: default ColumnMetadata to unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
haideralsh committed Jul 3, 2024
1 parent e3e3d6f commit e129e1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import SortingColumnHeader from "./SortingColumnHeader";
import { StatefulTableProps } from "./StatefulTable";
import { ColumnType, RowType, CellInfoType } from "./Table.types";

export type TableProps<ColumnMetadata> = StatefulTableProps<ColumnMetadata>;
export type TableColumnType<ColumnMetadata> = ColumnType<ColumnMetadata>;
export type TableProps<ColumnMetadata = unknown> = StatefulTableProps<ColumnMetadata>;
export type TableColumnType<ColumnMetadata = unknown> = ColumnType<ColumnMetadata>;
export type TableRowType = RowType;
export type TableCellInfoType<ColumnMetadata> = CellInfoType<ColumnMetadata>;
export type TableCellInfoType<ColumnMetadata = unknown> = CellInfoType<ColumnMetadata>;

function Table<ColumnMetadata>({
hasSelectableRows,
Expand Down

0 comments on commit e129e1d

Please sign in to comment.