We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59c6ac1 commit a1dfdb6Copy full SHA for a1dfdb6
src/DataTable/types.ts
@@ -38,7 +38,7 @@ export type TableProps<T> = {
38
contextComponent?: React.ReactNode;
39
contextMessage?: ContextMessage;
40
customStyles?: TableStyles;
41
- data: T[];
+ data: T[] | undefined;
42
defaultSortAsc?: boolean;
43
defaultSortFieldId?: string | number | null | undefined;
44
dense?: boolean;
0 commit comments