diff --git a/package/types/DataTableProps.ts b/package/types/DataTableProps.ts index bdf91891..62c3d5dd 100644 --- a/package/types/DataTableProps.ts +++ b/package/types/DataTableProps.ts @@ -221,7 +221,7 @@ export type DataTableProps> = { * * examplle: This function can be used with rowFactory if using drag and drop to pass context */ - tableWrapper: ({ children }: { children: React.ReactNode }) => React.ReactNode; + tableWrapper?: ({ children }: { children: React.ReactNode }) => React.ReactNode; /** * Optional function returning an object of custom attributes to be applied to each row in the table.