Skip to content

Commit a1dfdb6

Browse files
authored
Update types.ts
1 parent 59c6ac1 commit a1dfdb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataTable/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export type TableProps<T> = {
3838
contextComponent?: React.ReactNode;
3939
contextMessage?: ContextMessage;
4040
customStyles?: TableStyles;
41-
data: T[];
41+
data: T[] | undefined;
4242
defaultSortAsc?: boolean;
4343
defaultSortFieldId?: string | number | null | undefined;
4444
dense?: boolean;

0 commit comments

Comments
 (0)